Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: http://ynemoy.fedorapeople.org/review/fedora-devshell.spec SRPM URL: http://ynemoy.fedorapeople.org/review/fedora-devshell-0.1.0-1.fc10.src.rpm Description: Fedora Devshell is a developers toolbox for creating packages and developing software for Fedora. It aims to simplify the process of creating and maintaining packages in the Fedora repositories, and simplify the workflow between other Fedora components.
A few initial comments: - Don't use macros in the URL, since this makes copy-pasteing impossible (well, at least awkward) from the specfile. - I see you're also upstream. %attr(755,root,root) %{_bindir}/ports %attr(755,root,root) %{_bindir}/devshell should be just %{_bindir}/ports %{_bindir}/devshell with the 755 flags set by the install script (setup.py). I'll do the review tomorrow.
I just copied that out of another spec file i've seen, i figured it was part of the coding standards. I'm assuming that setup.py should do The Right Thing (TM). If it doesn't, getting upstream to fix that shouldn't have to be considered a blocker to this bug.
rpmlint output: fedora-devshell.noarch: E: description-line-too-long Fedora Devshell is a developers toolbox for creating packages and developing software for Fedora. It aims to simplify the process of creating and maintaining packages in the Fedora repositories, and simplify the workflow between other Fedora components. fedora-devshell.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/devshell/devshell.py 0644 fedora-devshell.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/devshell/ports.py 0644 fedora-devshell.src: E: description-line-too-long Fedora Devshell is a developers toolbox for creating packages and developing software for Fedora. It aims to simplify the process of creating and maintaining packages in the Fedora repositories, and simplify the workflow between other Fedora components. 2 packages and 0 specfiles checked; 4 errors, 0 warnings. - You need to break the description lines to match the 80 character width restricition. - Either add executable bits to devshell.py and ports.py or remove their shebangs to fix the non-executable-script problem. Python library files should not have shebangs; please contact upstream to remove them. MUST: The package does not yet exist in Fedora. The Review Request is not a duplicate. OK MUST: The spec file for the package is legible and macros are used consistently. OK MUST: The package must be named according to the Package Naming Guidelines. OK MUST: The spec file name must match the base package %{name}. OK MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines. OK MUST: The License field in the package spec file must match the actual license. NEEDSFIX - License is GPLv2, not GPLv2+. MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. NEEDSFIX - No source URL provided. http://fedoraproject.org/wiki/Packaging/SourceURL MUST: The package MUST successfully compile and build into binary rpms. OK MUST: The spec file MUST handle locales properly. OK MUST: Optflags are used and time stamps preserved. OK MUST: Packages containing shared library files must call ldconfig. OK MUST: A package must own all directories that it creates or require the package that owns the directory. ~OK - Instead of using %{python_sitelib}/* please use %{python_sitelib}/devshell/ %{python_sitelib}/%{name}-*.egg-info instead, as this is more likely to pick up errors. MUST: Files only listed once in %files listings. OK MUST: Permissions on files must be set properly. OK MUST: Clean section exists. OK MUST: Large documentation files must go in a -doc subpackage. OK MUST: All relevant items are included in %doc. Items in %doc do not affect runtime of application. NEEDSFIX - Add PKG-INFO to %doc. MUST: Desktop files are installed properly. OK MUST: No file conflicts with other packages and no general names. OK MUST: Buildroot cleaned before install. OK SHOULD: %{?dist} tag is used in release. OK SHOULD: If the package does not include license text(s) as separate files from upstream, the packager should query upstream to include it. OK SHOULD: The package builds in mock. OK
Thanks for taking up the review Jussi. Spec URL: http://ynemoy.fedorapeople.org/review/fedora-devshell.spec SRPM URL: http://ynemoy.fedorapeople.org/review/fedora-devshell-0.1.1-1.fc10.src.rpm This release fixes all the above comments.
So it does. The package has been APPROVED. PS. You might still want to remove the hash comment about noarch packages that have been left over from the spec file template.
You mean the remark on the first line? I've seen that in other packages as well, so i'm not really gonna bother. Thanks again for the speedy review.
New Package CVS Request ======================= Package Name: fedora-devshell Short Description: Fedora Developer's Toolbox Owners: ynemoy Branches: F-10 F-11 InitialCC:
(In reply to comment #6) > You mean the remark on the first line? I've seen that in other packages as > well, so i'm not really gonna bother. Yeah, and in the files section. It's not really a problem, it's just not necessary to have it :) > Thanks again for the speedy review. No problem. You can return the favor by reviewing other packages in the queue, there are lots of them waiting.
cvs done.
Updated and built. https://koji.fedoraproject.org/koji/buildinfo?buildID=100713