Fix build on x86_64 Spec file cleanup --- a/python-module-twisted-web2.spec +++ b/python-module-twisted-web2.spec @@ -1,49 +1,51 @@ %define version 0.2.0 -%define release alt1 +%define release alt1.1 %define origname TwistedWeb2 %setup_python_module twisted-web2 -Name: %{packagename} -Version: %{version} -Release: %{release} +Name: %packagename +Version: %version +Release: %release Summary: Twisted HTTP/1.1 Server Framework, programmable in Python Group: Development/Python License: MIT URL: http://twistedmatrix.com/trac/wiki/TwistedWeb Packager: Sergey Alembekov -Source0: http://tmrc.mit.edu/mirror/twisted/Web2/%{origname}-%{version}.tar.bz2 +Source0: http://tmrc.mit.edu/mirror/twisted/Web2/%origname-%version.tar.bz2 BuildRequires: python-module-twisted-core BuildRequires: python-devel Requires: python-module-twisted-core -#Requires: python-module-pygoogle - -#%add_python_req_skip SOAPpy %description -Twisted.Web2 is the next generation web server built with Twisted. Web2 is under active development and its APIs should not be considered stable at this point. It is not a version of Twisted.Web and while the compatibility layer does support many, currently this is not the highest concern. +Twisted.Web2 is the next generation web server built with +Twisted. Web2 is under active development and its APIs should +not be considered stable at this point. It is not a version +of Twisted.Web and while the compatibility layer does support +many, currently this is not the highest concern. %prep -%setup -q -n %{origname}-%{version} +%setup -q -n %origname-%version %build %__python setup.py build %install -%__python setup.py install --root $RPM_BUILD_ROOT - -%clean +%__python setup.py install --root $RPM_BUILD_ROOT --install-purelib %python_sitelibdir %files -%defattr(-,root,root,-) %doc README LICENSE NEWS doc/* -%{python_sitelibdir}/twisted/web2/ +%python_sitelibdir/twisted/web2 -%{python_sitelibdir}/twisted/plugins/twisted_web2.py* +%python_sitelibdir/twisted/plugins/twisted_web2.py* %changelog +* Sat Oct 27 2007 Nikolay A. Fetisov 0.2.0-alt1.1 +- Fix build on x86_64 +- Spec file cleanup + * Fri Mar 30 2007 Sergey Alembekov 0.2.0-alt1 - Build for new upstream version