Spec URL: http://thomas.apestaart.org/download/pkg/fedora-5-x86_64-extras/python-twisted-web-0.6.0-3.fc5/python-twisted-web.spec
SRPM URL: http://thomas.apestaart.org/download/pkg/fedora-5-x86_64-extras/python-twisted-web-0.6.0-3.fc5/python-twisted-web-0.6.0-3.fc5.src.rpm
Twisted is an event-based framework for internet applications.
Twisted Web is a complete web server, aimed at hosting web
applications using Twisted and Python, but fully able to serve static
- package and spec file naming OK
- package meets guidelines
- license is MIT, matches spec
- spec file written in English and is legible
- sources match upstream
- package builds OK in mock for FC4-Rawhide, i386 and x86_64
- BR's OK
- no locale issues
- no shared libraries
- not relocatable
- no directory ownership or permissions issues
- %clean section present and correct
- macro usage consistent enough
- code, not content
- docs aren't excessively large
- docs don't affect runtime
- no subpackages
- no devel files present
- not a GUI app, no desktop file needed
- package seems to work OK (tested with bittorrent 5.0.1)
* Include LICENSE as %doc
# rpm -qa python-twisted\*
# rpm -e python-twisted-web
Traceback (most recent call last):
File "/usr/libexec/twisted-dropin-cache", line 16, in ?
--- <exception caught here> ---
File "/usr/lib64/python2.4/site-packages/twisted/plugin.py", line 214, in
adapted = interface(plugin, None)
File "/usr/lib64/python2.4/site-packages/zope/interface/interface.py", line
658, in __call__
adapter = conform(self)
File "/usr/lib64/python2.4/site-packages/twisted/plugin.py", line 77, in
File "/usr/lib64/python2.4/site-packages/twisted/plugin.py", line 72, in load
return namedAny(self.dropin.moduleName + '.' + self.name)
File "/usr/lib64/python2.4/site-packages/twisted/python/reflect.py", line 370,
obj = getattr(obj, n)
exceptions.AttributeError: 'module' object has no attribute 'twisted_web'
I think that needs fixing.
* rpmlint output:
E: python-twisted-web no-binary
This is to be expected for what is essentially a noarch package that has to
live in an arch-specific place due to the way python works, i.e. not an issue
* URL should be: http://twistedmatrix.com/trac/wiki/TwistedWeb
* Include NEWS as %doc
Any news on the mustfix/suggestion items from this review?
thanks to python 2.5 now in the development tree you'll need a new
You'll find the updated srpm and spec which builds against current
I've also included the LICENSE and NEWS fileas as %doc and updated the URL tag
as suggested in the review comment
pulled in Jef's updated spec as is.
Any further comments, or can this be APPROVEd ?
Has anybody else seen the problem with the dropin cache at package removal time
that I mentioned in Comment #1?
I removed all my packages (including the divmod ones) and now I am able to
reproduce it. Before I had it spuriously and couldn't figure out a way to debug it.
I dug a little deeper now and it seems that the Twisted code logs an exception
using its own log handler when it finds a plugin in the cache that is no longer
Since this is the point of updating the cache - removing plugins that no longer
exist - I changed twisted-dropin-cache to not log on that particular error.
I pushed a new python-twisted-core package to extras that should fix this.
I don't see any more blockers here... using the new python-twisted-core from the
buildsys (it's not been pushed yet) I don't see any dropin cache issues.
imported, waiting for fc-6 branch
Thomas: I'm interested in EL-5 branch. Would you maintain it yourself or you
won't mind if I maintained it?
This is a blocker for my package and the Fedora maintainer seems not to be
interested. cvsextras commits will be open and I'm willing aprove the Fedora
maintainer once he applies for ACLs.
Package Change Request
Package Name: python-twisted-web
New Branches: EL-5
Cvsextras Commits: yes