Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: http://znark.com/fedora/ack.spec SRPM URL: http://znark.com/fedora/ack-1.56-2.src.rpm Description: Ack is designed as a replacement for grep.
any reason for not naming this package's name starting with perl- ?
Source URL not working. check that.
I chose to use "ack" as the package name because it is primarily an application. Also, the other choices were "perl-ack" looks like a pragma, or "perl-App-Ack" which is non-standard and hard to find. Fixed Source URL. Spec URL: http://znark.com/fedora/ack.spec SRPM URL: http://znark.com/fedora/ack-1.56-3.src.rpm
Review: + package builds in mock (development i386). + rpmlint is silent for SRPM and for RPM. + source files match upstream url d2c8750f35ae8be79956958e2b653e32 ack-1.56.tar.gz + package meets naming and packaging guidelines. + specfile is properly named, is cleanly written + Spec file is written in American English. + Spec file is legible. + dist tag is present. + build root is correct. + license is open source-compatible. + License text is included in package. + %doc is present. + BuildRequires are proper. + %clean is present. + package installed properly. + Macro use appears rather consistent. + Package contains code, not content. + no headers or static libraries. + no .pc file present. + no -devel subpackage + no .la files. + no translations are available + Dose owns the directories it creates. + no scriptlets present. + no duplicates in %files. + file permissions are appropriate. + Provides: perl(App::Ack) = 1.56 APPROVED.
> Requires: perl(File::Next) >= 0.38 That one is automatically set by rpmbuild already, isn't it? > %setup -q -n ack-%{version} -n %{name}-%{version} is automatic already > make %{?_smp_mflags} SMP make flags in a noarch build are superfluous.
How about getting %check make test included in the package?
(In reply to comment #5) > SMP make flags in a noarch build are superfluous. Not necessarily, they don't have anything to do with archs per se. Granted, noarch packages benefit from parallel builds much less often than eg. ones that invoke a C compiler.
Right, but with a 34 KB noarch package and no costly computations during %build, there is no gain to expect on a MP system. The risk is greater than the potential benefit.
I left out the %check block because the tests fail when run without a terminal. This is a bug in the tests in that they assume that they are run from a terminal. The tests pass when run normaly. I entered a bug upstream to fix the problem. http://rt.cpan.org/Public/Bug/Display.html?id=24670
>> Requires: perl(File::Next) >= 0.38 > That one is automatically set by rpmbuild already, isn't it? I removed the manual one. >> %setup -q -n ack-%{version} > -n %{name}-%{version} is automatic already That was an artifact of renaming the package. Spec URL: http://znark.com/fedora/ack.spec SRPM URL: http://znark.com/fedora/ack-1.56-4.src.rpm
I rechecked the new release in mock. It built fine. rpmlint is silent. So new package is ok.
Thanks Michael for your comments.
Package Change Request ====================== Package Name: ack New Branches: EL-4 EL-5