ALT Linux Bugzilla
– Attachment 2271 Details for
Bug 13445
Module build on x86_64
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Support for x86_64, spec file cleanup
python-module-twisted-web.patch (text/plain), 2.37 KB, created by
Nikolay A. Fetisov
on 2007-11-16 14:08:40 MSK
(
hide
)
Description:
Support for x86_64, spec file cleanup
Filename:
MIME Type:
Creator:
Nikolay A. Fetisov
Created:
2007-11-16 14:08:40 MSK
Size:
2.37 KB
patch
obsolete
>Fix build on x86_64 >Spec file clenaup > >--- a/python-module-twisted-web.spec >+++ b/python-module-twisted-web.spec >@@ -1,27 +1,22 @@ > %define version 0.7.0 >-%define release alt1 >+%define release alt1.1 > %define origname TwistedWeb > %setup_python_module twisted-web > >-Name: %{packagename} >-Version: %{version} >-Release: %{release} >+Name: %packagename >+Version: %version >+Release: %release > Summary: Twisted web server, programmable in Python > > Group: Development/Python > License: MIT > URL: http://twistedmatrix.com/trac/wiki/TwistedWeb > Packager: Sergey Alembekov <rt@altlinux.ru> >-Source0: http://tmrc.mit.edu/mirror/twisted/Web/0.7/%{origname}-%{version}.tar.bz2 >+Source0: http://tmrc.mit.edu/mirror/twisted/Web/0.7/%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 is an event-based framework for internet applications. > >@@ -30,27 +25,32 @@ applications using Twisted and Python, but fully able to serve static > pages, also. > > %prep >-%setup -q -n %{origname}-%{version} >+%setup -q -n %origname-%version > >-%{__sed} -i -e '/^#! *\/usr\/bin\/python/d' twisted/web/test/test_cgi.py >-%{__sed} -i -e '/^#! *\/usr\/bin\/python/d' twisted/web/test/test_distrib.py >+subst 's@^#! */usr/bin/python@@' twisted/web/test/test_cgi.py >+subst 's@^#! */usr/bin/python@@' twisted/web/test/test_distrib.py > > %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/web/ >+%python_sitelibdir/twisted/web >+%python_sitelibdir/twisted/plugins/twisted_web.py* >+ >+# There are no SOAPpy in ALT Linux Sisyphus - remove it support >+%exclude %python_sitelibdir/twisted/web/soap.py >+%exclude %python_sitelibdir/twisted/web/test/test_soap.py > >-%{python_sitelibdir}/twisted/plugins/twisted_web.py* > > %changelog >+* Sat Oct 27 2007 Nikolay A. Fetisov <naf@altlinux.ru> 0.7.0-alt1.1 >+- Fix build on x86_64 >+- Spec file clenaup >+ > * Fri Mar 30 2007 Sergey Alembekov <rt@altlinux.ru> 0.7.0-alt1 > - Build for new upstream version
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13445
: 2271