Hi, Spec URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro.spec SRPM URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro-4.0-1.fc13.src.rpm Description: Pyro stands for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be fast and very easy to use. Best regard
Hi David, Just doing an informal review to help my case of being sponsored :-) Some things need work: * rpmlint must be run on every package. The output should be posted in the review.[1] [zxvdr@laptop SPECS]$ rpmlint ../SRPMS/python-pyro-4.0-1.fc13.src.rpm python-pyro.src: W: invalid-url Source0: http://www.xs4all.nl/~irmen/pyro3/download/Pyro-4.0.tar.gz HTTP Error 404: Not Found 1 packages and 0 specfiles checked; 0 errors, 1 warnings. [zxvdr@laptop SPECS]$ rpmlint ../RPMS/noarch/python-pyro-4.0-1.fc13.noarch.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. See note below re incorrect URL for Source0... * The package must meet the Packaging Guidelines . %clean is not required for F-13 and above. https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean * The spec file for the package MUST be legible. [6] A little nit-pick, but there's a typo in the changelog; "Fisrt" should be "First" :-) * The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use md5sum for this task. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this. The URL specified is incorrect. It should be (note pyro4, not pyro3): http://www.xs4all.nl/~irmen/pyro4/download/Pyro-%{version}.tar.gz These items appear OK to me: OK: The package must be named according to the Package Naming Guidelines . OK: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption. [2] . OK: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines . OK: The License field in the package spec file must match the actual license. [3] NA: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc.[4] OK: The spec file must be written in American English. [5] OK: The package MUST successfully compile and build into binary rpms on at least one primary architecture. [7] NA: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in ExcludeArch. Each architecture listed in ExcludeArch MUST have a bug filed in bugzilla, describing the reason that the package does not compile/build/work on that architecture. The bug number MUST be placed in a comment, next to the corresponding ExcludeArch line. [8] OK: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines ; inclusion of those as BuildRequires is optional. Apply common sense. NA: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.[9] NA: Every binary RPM package (or subpackage) which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun. [10] OK: Packages must NOT bundle copies of system libraries.[11] NA: If the package is designed to be relocatable, the packager must state this fact in the request for review, along with the rationalization for relocation of that specific package. Without this, use of Prefix: /usr is considered a blocker. [12] OK: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory. [13] OK: A Fedora package must not list a file more than once in the spec file's %files listings. (Notable exception: license texts in specific situations)[14] OK: Permissions on files must be set properly. Executables should be set with executable permissions, for example. Every %files section must include a %defattr(...) line. [15] OK: Each package must consistently use macros. [16] OK: The package must contain code, or permissable content. [17] OK: Large documentation files must go in a -doc subpackage. (The definition of large is left up to the packager's best judgement, but is not restricted to size. Large can refer to either size or quantity). [18] OK: If a package includes something as %doc, it must not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present. [18] NA: Header files must be in a -devel package. [19] NA: Static libraries must be in a -static package. [20] NA: If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package. [19] NA: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release} [21] NA: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.[20] NA: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section. If you feel that your packaged GUI application does not need a .desktop file, you must put a comment in the spec file with your explanation. [22] OK: Packages must not own files or directories already owned by other packages. The rule of thumb here is that the first package to be installed should own the files or directories that other packages may rely upon. This means, for example, that no package in Fedora should ever share ownership with any of the files or directories owned by the filesystem or man package. If you feel that you have a good reason to own a file or directory that another package owns, then please present that at package review time. [23] OK: All filenames in rpm packages must be valid UTF-8. [24]
(In reply to comment #1) > %clean is not required for F-13 and above. > https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean Right, but it's still required for EPEL <= 5. The same is true for the BuildRoot field and the initial cleaning of the buildroot in %install (both are optional in Fedora but not in EPEL). So it doesn't hurt to add the additional lines but simplifies maintaining a package for Fedora and EPEL. > NA: If (and only if) the source package includes the text of the license(s) in > its own file, then that file, containing the text of the license(s) for the > package must be included in %doc.[4] Nope. :) The tarball contains file LICENSE with the MIT license text. This file is missing in the %doc list. Since this is a Python package, a couple of further requirements apply: http://fedoraproject.org/wiki/Packaging:Python - The initial macro definition(s) should be wrapped as described in http://fedoraproject.org/wiki/Packaging:Python#Macros - remove the "packaging comments" like "Remove CFLAGS=" and adapt the SPEC accordingly - I suggest to replace the multiple sed statements with sed -i 's/\r//' README.txt find examples -type f -exec sed -i 's/\r//' {} \; - please be a bit more specific in %files: %{python_sitelib}/Pyro-*.egg-info %{python_sitelib}/Pyro/
Hi, New spec file and srpm with your remark : Spec URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro.spec SRPM URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro-4.0-2.fc13.noarch.rpm Best regard
Hi David, if you plan to maintain this package for Fedora >= 13 only, please also drop the BuildRoot field and "rm -rf $RPM_BUILD_ROOT" in %install.
Hi, New spec file and srpm : Spec URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro.spec SRPM URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro-4.0-3.fc13.src.rpm Best regard
The latest release of Pyro4 is 4.2.
my release is old and pyro has changed since release. I need to package a version of pyro in 3 or 4 in order to offer Shinken. Shinken is a monitoring tool developed in Python. If the version of Pyro is not recent enough I can suggest a few more recent in time. See you soon ;-).
Hi, New spec file and srpm : Spec URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro.spec SRPM URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro-4.2-1.fc14.src.rpm Best regard
Simple question: what is the state of python 3 support on this package?
According to the author, pyro 4.2 supports version 3 python. For my part, I use version 2.x python. My goal is to make a release of a monitoring tool Shinken.
Hi, New spec file and srpm : Spec URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro.spec SRPM URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro-4.3-1.fc14.src.rpm Best regard
As promised, i finished reviewing your package today python-pyro (python package) MUST: rpmlint must be run on src.rpm and rpm: OK $ rpmlint -iv python-pyro-4.3-1.fc14.noarch.rpm python-pyro.noarch: I: checking python-pyro.noarch: I: checking-url http://www.xs4all.nl/~irmen/pyro4/index.html (timeout 10 seconds) 1 packages and 0 specfiles checked; 0 errors, 0 warnings. $ rpmlint -iv python-pyro-4.3-1.fc14.src.rpm python-pyro.src: I: checking python-pyro.src: I: checking-url http://www.xs4all.nl/~irmen/pyro4/index.html (timeout 10 seconds) python-pyro.src: I: checking-url http://www.xs4all.nl/~irmen/pyro4/download/Pyro4-4.3.tar.gz (timeout 10 seconds) 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Note: the summary - PYthon Remote Objects - is acceptable since it represents the name of the package MUST: package named accordingly to package naming guidelines: OK MUST: spec file name match %{name}: OK MUST: licensed according a Fedora compliant license: OK (MIT - license file included) MUST: License field in spec match actual license: OK MUST: spec in legible american english: OK MUST: sources provided match upstream's OK provided sources sha1sum: 8d654e0fa662b9bdab325c836dbd0af349370f93 upstream sources sha1sum: 8d654e0fa662b9bdab325c836dbd0af349370f93 MUST: package sucessfully compiles on at least one primary architecture (all of them: x86 and x86_64 under mock for fedora-devel) MUST: all build dependencies are listed in BR: OK MUST: package does not list a file more than once in %files section: OK MUST: permissions are properly set: OK MUST: package consistenly uses macros: OK MUST: package contains permissable content: OK MUST: all filenames are valid UTF-8: OK SHOULD: the module provided works (tested with python 2.7 and a self-hacked version on python 3.2): OK Though it is not mandatory, adding python3 support is strongly recommended especially when it's supported by upstream which is the case for python-pyro >= 4.3 Since, it's trivial to add python3 support in python-pyro and everything is OK, my blessing will be given as soon as it's added (Think of it as a good deed to push forward python3). ===> Here's a modified version of python-pyro.spec with a working python3 support, feel free to use it as a basis. http://hguemar.fedorapeople.org/reviewer/python-pyro/python-pyro.spec
Hi, New spec file and srpm : Spec URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro.spec SRPM URL: http://hvad.fedorapeople.org/fedora/python-pyro/python-pyro-4.3-2.fc14.src.rpm Best regard
I re-checked the newly imported packages, all above points are still ok. koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2998993 rpmlint output is ok, make sure to use rpmlint 1.1 (RHBZ #637956: rpmlint 1.0 output false-positive errors on python3 packages). Hereby, i grant my blessing to import python-pyro in fedora packages collection.
perl-Test-Command-0.08-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/perl-Test-Command-0.08-1.fc14
Hi, I made a mistake with perl-Test-command package.
There is no SCM request to process here. I do not understand what you are requesting from the SCM admins. Please either supply an SCM request according to https://fedoraproject.org/wiki/Package_SCM_admin_requests or describe what you need from the SCM admins, and re-raise the fedora-cvs flag.
New Package SCM Request ======================= Package Name: python-pyro Short Description: Pyro stands for PYthon Remote Objects. Owners: hvad Branches: f14 f15 el6 InitialCC:
sorry, I was too hasty.
New Package SCM Request ======================= Package Name: python-pyro Short Description: Pyro stands for PYthon Remote Objects. Owners: hvad Branches: f14 f15 InitialCC:
Sorry for my mistake.
Git done (by process-git-requests).
python-pyro-4.3-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-pyro-4.3-2.fc14
python-pyro-4.3-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-pyro-4.3-2.fc15
python-pyro-4.3-2.fc14 has been pushed to the Fedora 14 testing repository.
python-pyro-4.3-2.fc14 has been pushed to the Fedora 14 stable repository.
python-pyro-4.3-2.fc15 has been pushed to the Fedora 15 stable repository.
Package Change Request ====================== Package Name: python-pyro New Branches: el6 Owners: hvad
python-pyro-4.14-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-pyro-4.14-2.el6