Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Bug ID: 878236 Summary: Review Request: python-waitress - Waitress WSGI server Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Reporter: lorenzo.gil.sanchez@gmail.com Type: ---
Spec URL: http://lorenzogil.com/rpms/python-waitress/python-waitress.spec SRPM URL: http://lorenzogil.com/rpms/python-waitress/python-waitress-0.8.2-1.fc17.src.... Description: Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.6+ and Python 3.2. It is also known to run on PyPy 1.6.0 on UNIX. It supports HTTP/1.0 and HTTP/1.1.
For more information, see the "docs" directory of the Waitress package or http://docs.pylonsproject.org/projects/waitress/en/latest/ .
Fedora Account System Username: lgs
Koji builds:
Fedora 17: http://koji.fedoraproject.org/koji/taskinfo?taskID=4706231 Fedora 18: http://koji.fedoraproject.org/koji/taskinfo?taskID=4706203
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Gianluca Sforna giallu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |giallu@gmail.com Assignee|nobody@fedoraproject.org |giallu@gmail.com Flags| |fedora-review?
--- Comment #1 from Gianluca Sforna giallu@gmail.com --- I am taking this review, spec looks very clean at first sight.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #2 from Gianluca Sforna giallu@gmail.com --- Few point we can improve.
cosmetic: the 'for more information' part can be rewritten to point user to the full path in the system like this:
For more information, see %{docdir}/docs or http://docs.pylonsproject.org/projects/waitress/en/latest/
comparing the spec with the guidelines at https://fedoraproject.org/wiki/Packaging:Python I see it is recommended to run
rm -rf %{py3dir} just before cp -a . %{py3dir}
Not sure it is useful, but there also minor differences in build and install:
CFLAGS="$RPM_OPT_FLAGS" is prepended to setup.py build lines, and setup.py install now lacks the -O1 flag (maybe it was deprecated at some point)
pakcage builds fine in mock. rpmlint has few things to say:
[giallu@novo SPECS]$ rpmlint /var/lib/mock/fedora-17-x86_64/result/*.rpm python3-waitress.noarch: W: spurious-executable-perm /usr/share/doc/python3-waitress-0.8.2/docs/rebuild python3-waitress.noarch: E: version-control-internal-file /usr/share/doc/python3-waitress-0.8.2/docs/.gitignore python-waitress.noarch: E: version-control-internal-file /usr/share/doc/python-waitress-0.8.2/docs/.gitignore python-waitress.noarch: W: spurious-executable-perm /usr/share/doc/python-waitress-0.8.2/docs/rebuild
I guess these are all files you remove outright
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #3 from Lorenzo Gil Sanchez lorenzo.gil.sanchez@gmail.com --- Thanks a lot for this review!
I've updated the package with all your suggestions except the CFLAGS="$RPM_OPT_FLAGS" thing. This package does not have any C extensions so I think the CFLAGS are not needed. I guess the guidelines try to cover all cases but this time is cleaner if we don't put that.
The update links:
Spec URL: http://lorenzogil.com/rpms/python-waitress/python-waitress.spec SRPM URL: http://lorenzogil.com/rpms/python-waitress/python-waitress-0.8.2-2.fc17.src....
Koji builds:
Fedora 17: http://koji.fedoraproject.org/koji/taskinfo?taskID=4723002 Fedora 18: http://koji.fedoraproject.org/koji/taskinfo?taskID=4723006
rpmlint is much happier now :-)
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Gianluca Sforna giallu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? | Flags| |fedora-review+
--- Comment #4 from Gianluca Sforna giallu@gmail.com --- (In reply to comment #3)
I've updated the package with all your suggestions except the CFLAGS="$RPM_OPT_FLAGS" thing. This package does not have any C extensions so I think the CFLAGS are not needed. I guess the guidelines try to cover all cases but this time is cleaner if we don't put that.
Yeah. I suppose it could grow such extension in the future, but I trust your packager powers to fix it in case it will ever do :)
I think we are in a good shape to go.
Just a minor remark: I suggest you use the %{version} macro in the Source0 line, so you don't need to change it at each new upstream release.
==== REVIEW CHECKLIST ==== - package named according to package naming guidelines - package licensed with allowed license (ZPLv2.1) - license matches actual license - license file included in %doc - spec written in American english - spec legible - sources match upstream sha256sum - successfully builds in mock for rawhide x86_64 - no locales - no shared libraries - package owns all directories it creates - default file permissions - macro usage is consistent - package contains code - no large documentation - not a GUI app needing a .desktop file
- rpmlint is mostly silent, the only warning can be ignored:
rpmlint /var/lib/mock/fedora-17-x86_64/result/*.rpm python-waitress.src: W: spelling-error %description -l en_US usr -> use, us, user 3 packages and 0 specfiles checked; 0 errors, 1 warnings.
This package is APPROVED
PS. I have a package in the queue as well, bug #804125. If you have spare cycles to help me get it in Fedora it would be great. However, it is much more complicated than this one, so do not feel obligated in any way.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #5 from Lorenzo Gil Sanchez lorenzo.gil.sanchez@gmail.com --- Thanks a lot Gianluca. I updated the package with your %{version} suggestion.
I'll take a look at your package.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Lorenzo Gil Sanchez lorenzo.gil.sanchez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-cvs?
--- Comment #6 from Lorenzo Gil Sanchez lorenzo.gil.sanchez@gmail.com --- New Package SCM Request ======================= Package Name: python-waitress Short Description: Waitress WSGI server Owners: lgs Branches: f17 f18 InitialCC:
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #7 from Jon Ciesla limburgher@gmail.com --- Git done (by process-git-requests).
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- python-waitress-0.8.2-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-waitress-0.8.2-3.fc18
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- python-waitress-0.8.2-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-waitress-0.8.2-3.fc17
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- python-waitress-0.8.2-3.fc18 has been pushed to the Fedora 18 testing repository.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2012-12-07 23:25:46
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- python-waitress-0.8.2-3.fc18 has been pushed to the Fedora 18 stable repository.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=878236
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- python-waitress-0.8.2-3.fc17 has been pushed to the Fedora 17 stable repository.
package-review@lists.fedoraproject.org