Bug 498371 - Review Request: fedora-devshell - Fedora Developer's Toolbox
Summary: Review Request: fedora-devshell - Fedora Developer's Toolbox
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-30 06:16 UTC by Yaakov Nemoy
Modified: 2009-05-04 04:32 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-04 04:32:35 UTC
Type: ---
Embargoed:
susi.lehtola: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Yaakov Nemoy 2009-04-30 06:16:36 UTC
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.

Comment 1 Susi Lehtola 2009-04-30 20:56:02 UTC
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.

Comment 2 Yaakov Nemoy 2009-05-01 04:19:48 UTC
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.

Comment 3 Susi Lehtola 2009-05-01 07:10:53 UTC
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

Comment 4 Yaakov Nemoy 2009-05-01 17:59:52 UTC
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.

Comment 5 Susi Lehtola 2009-05-01 19:39:54 UTC
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.

Comment 6 Yaakov Nemoy 2009-05-01 22:45:40 UTC
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.

Comment 7 Yaakov Nemoy 2009-05-01 22:48:13 UTC
New Package CVS Request
=======================
Package Name: fedora-devshell
Short Description: Fedora Developer's Toolbox
Owners: ynemoy
Branches: F-10 F-11
InitialCC:

Comment 8 Susi Lehtola 2009-05-02 07:00:36 UTC
(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.

Comment 9 Kevin Fenzi 2009-05-04 03:47:37 UTC
cvs done.

Comment 10 Yaakov Nemoy 2009-05-04 04:32:35 UTC
Updated and built.

https://koji.fedoraproject.org/koji/buildinfo?buildID=100713


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