Bug 582163 - Review Request: perl-Test-Smoke - Perl core test smoke suite
Summary: Review Request: perl-Test-Smoke - Perl core test smoke suite
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Shakthi Kannan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-14 10:07 UTC by Marcela Mašláňová
Modified: 2010-07-02 10:55 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-07-02 10:55:26 UTC
Type: ---
Embargoed:
shakthimaan: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Marcela Mašláňová 2010-04-14 10:07:17 UTC
Spec URL: http://mmaslano.fedorapeople.org/review/perl-Test-Smoke.spec
SRPM URL: http://mmaslano.fedorapeople.org/review/perl-Test-Smoke-1.43-1.fc13.src.rpm
Description: Test::Smoke exports $conf and read_config() by default.

Comment 1 Shakthi Kannan 2010-04-26 16:25:21 UTC
#01 Running rpmlint on the built RPM file yields:

$ rpmlint ../RPMS/i686/perl-Test-Smoke-*

perl-Test-Smoke.i686: E: no-binary
perl-Test-Smoke-debuginfo.i686: E: empty-debuginfo-package
2 packages and 0 specfiles checked; 2 errors, 0 warnings.

You need to use:

  BuildArch: noarch

# 02 For consistency, you can use:

- %{buildroot} instead of $RPM_BUILD_ROOT
- %{__rm} instead of rm
- %{__make} instead of make

Koji builds for F-12, F-13, F-14 and EL-5 are fine.

Comment 2 Shakthi Kannan 2010-05-11 03:20:49 UTC
Can you please update the .spec file with BuildArch?

Comment 3 Marcela Mašláňová 2010-05-12 06:52:43 UTC
Updated:
http://mmaslano.fedorapeople.org/review/perl-Test-Smoke-1.43-1.fc13.src.rpm
http://mmaslano.fedorapeople.org/review/perl-Test-Smoke.spec

That's not consistency. cpanspec generate it with $RPM_BUILD_ROOT and I'm also using in all other non-perl packages.

Comment 4 Paul Howarth 2010-05-12 07:04:30 UTC
The guidelines say to choose either the "%{buildroot}" form or the "$RPM_BUILD_ROOT" form (either are OK) but not to use both forms in the same spec file. So this spec is OK in that respect.

There is a redundant "/" between $RPM_BUILD_ROOT and %{_bindir} but to block on that would be nit-picking.

Comment 5 Shakthi Kannan 2010-05-12 11:53:06 UTC
What I meant by consistent ("cosmetic") look is the use of macros with % instead of $. Anyways, this is only a cosmetic change, and not essential! 

Thanks for your replies.

Comment 6 Shakthi Kannan 2010-06-22 08:40:18 UTC
Package looks good. Approved.

Comment 7 Marcela Mašláňová 2010-07-01 14:57:23 UTC
New Package CVS Request
=======================
Package Name: perl-Test-Smoke
Short Description: Perl core test smoke suite
Owners: mmaslano psabata ppisar
Branches: F-13
InitialCC: perl-sig

Comment 8 Jason Tibbitts 2010-07-01 17:33:39 UTC
CVS done (by process-cvs-requests.py).


Note You need to log in before you can comment on or make changes to this bug.