[Bug 858106] Review Request: python-rospkg - Utilities for ROS package, stack, and distribution information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=858106

--- Comment #2 from Ankur Sinha (FranciscoD) <sanjay.ankur@xxxxxxxxx> ---
Review:

[+] OK
[-] NA
[?] Issue

[+] Package meets naming and packaging guidelines
[+] Spec file matches base package name.
[+] Spec has consistant macro usage.
[?] Meets Packaging Guidelines.
^^
It would be better to build in the build section using

%python setup.py build

and then only installing in the install section using

%python setup.py --skip-build

as described in the Python packaging guidelines here:
http://fedoraproject.org/wiki/Packaging:Python#Example_spec_file

It ensures that the different packaging stages happen in the correct sections
where they're supposed to.

[+] License
[+] License field in spec matches
[?] License file included in package
^^
I couldn't find a COPYING or LICENSE file. Please consider adding one if
possible

[+] Spec in American English
[+] Spec is legible.
[-] Sources match upstream md5sum:
Generated from github checkout. NA

[-] Package needs ExcludeArch
[+] BuildRequires correct
[-] Spec handles locales/find_lang
[-] Package is relocatable and has a reason to be.
[+] Package is code or permissible content.
[-] Doc subpackage needed/used.
[+] Packages %doc files don't affect runtime.

[+] Package compiles and builds on at least one arch.
[+] Package has no duplicate files in %files.
[+] Package doesn't own any directories other packages own.
[+] Package owns all the directories it creates.
[+] No rpmlint output.
[ankur@ankur SRPMS]$ rpmlint ../SPECS/python-rospkg.spec
./python-rospkg-1.0.6-1.fc17.src.rpm
/var/lib/mock/fedora-rawhide-x86_64/result/python-rospkg-1.0.6-1.fc19.noarch.rpm
../SPECS/python-rospkg.spec: W: invalid-url Source0:
ros-rospkg-1.0.6-0-g88888b7.tar.gz
python-rospkg.src: W: invalid-url Source0: ros-rospkg-1.0.6-0-g88888b7.tar.gz
2 packages and 1 specfiles checked; 0 errors, 2 warnings.
[ankur@ankur SRPMS]$


[+] final provides and requires are sane:
== python-rospkg-1.0.6-1.fc19.noarch.rpm ==
Provides:
python-rospkg = 1.0.6-1.fc19

Requires:
/usr/bin/python
python(abi) = 2.7

== python-rospkg-1.0.6-1.fc19.src.rpm ==
Provides:

Requires:
python-devel
python-setuptools-devel
python-sphinx

[ankur@ankur result]$

SHOULD Items:

[+] Should build in mock.
[+] Should build on all supported archs
[?] Should function as described.
^^
I haven't checked on this 

[-] Should have sane scriptlets.
[-] Should have subpackages require base package with fully versioned depend.
[+] Should have dist tag
[+] Should package latest version
[-] check for outstanding bugs on package. (For core merge reviews)

Issues:

1. I don't see any major issues. The building in %build section is the only
change required. 

2. A cosmetic change would be to use something like
%{python_sitelib}/%[realname}-%{version}-py?.?egg-info

instead of
%{python_sitelib}/*egg-info

just for clarity.

Please make the small changes required, and I'll approve the package :)
Thanks,
Warm regards,
Ankur

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]