rpms/python-twisted-runner/F-10 .cvsignore, 1.2, 1.3 python-twisted-runner.spec, 1.3, 1.4 sources, 1.2, 1.3
Matthias Saou
thias at fedoraproject.org
Mon Dec 29 10:02:25 UTC 2008
Author: thias
Update of /cvs/extras/rpms/python-twisted-runner/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18281
Modified Files:
.cvsignore python-twisted-runner.spec sources
Log Message:
Backport 8.0.0 update from devel.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-runner/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 28 Dec 2006 11:39:07 -0000 1.2
+++ .cvsignore 29 Dec 2008 10:01:55 -0000 1.3
@@ -1 +1 @@
-TwistedRunner-0.2.0.tar.bz2
+TwistedRunner-8.0.0.tar.bz2
Index: python-twisted-runner.spec
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-runner/F-10/python-twisted-runner.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-twisted-runner.spec 7 Mar 2008 17:16:36 -0000 1.3
+++ python-twisted-runner.spec 29 Dec 2008 10:01:55 -0000 1.4
@@ -1,23 +1,18 @@
-%{?!python:%define python python}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-%define origname TwistedRunner
+%{!?python:%define python python}
+%{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: %{python}-twisted-runner
-Version: 0.2.0
-Release: 6%{?dist}
+Version: 8.0.0
+Release: 2%{?dist}
Summary: Twisted Runner process management library and inetd replacement
-
Group: Development/Libraries
License: MIT
-URL: http://www.twistedmatrix.com
-Source0: http://tmrc.mit.edu/mirror/twisted/Runner/0.2/TwistedRunner-%{version}.tar.bz2
+URL: http://www.twistedmatrix.com/trac/wiki/TwistedRunner
+Source0: http://tmrc.mit.edu/mirror/twisted/Runner/8.0/TwistedRunner-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: python-devel
-BuildRequires: %{python}-twisted-core >= 2.4.0
-
-Requires: %{python}-twisted-core
+BuildRequires: %{python}-twisted-core >= 8.1.0
+BuildRequires: %{python}-devel
+Requires: %{python}-twisted-core >= 8.1.0
%description
Twisted is an event-based framework for internet applications.
@@ -26,30 +21,46 @@
with Python and Twisted, and has an almost full replacement for inetd.
%prep
-%setup -n %{origname}-%{version} -q
+%setup -q -n TwistedRunner-%{version}
%build
+CFLAGS="%{optflags}" %{python} setup.py build
%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
+%{python} setup.py install -O1 --skip-build --root %{buildroot}
+
+# Don't package C files
+%{__rm} %{buildroot}%{python_sitearch}/twisted/runner/portmap.c
+
+# Fix permissions of shared objects to pacify rpmlint
+%{__chmod} 0755 %{buildroot}%{python_sitearch}/twisted/runner/portmap.so
-rm $RPM_BUILD_ROOT%{python_sitearch}/twisted/runner/portmap.c
+# See if there's any egg-info
+if [ -f %{buildroot}%{python_sitearch}/Twisted*.egg-info ]; then
+ echo %{buildroot}%{python_sitearch}/Twisted*.egg-info |
+ %{__sed} -e 's|^%{buildroot}||'
+fi > egg-info
%clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
-%files
+%files -f egg-info
%defattr(-,root,root,-)
-%doc README LICENSE NEWS
-
+%doc LICENSE NEWS README
%{python_sitearch}/twisted/runner/
-%if 0%{?fedora} >= 9
- %{python_sitearch}/Twisted_Runner-%{version}-py2.5.egg-info
-%endif
-
%changelog
+* Tue Dec 23 2008 Matthias Saou <http://freshrpms.net/> 8.0.0-2
+- Update to 8.0.0.
+- Merge back changes from Paul Howarth.
+
+* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.2.0-8
+- Fix locations for Python 2.6
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.2.0-7
+- Rebuild for Python 2.6
+
* Fri Mar 07 2008 Jesse Keating <jkeating at redhat.com> - 0.2.0-6
- Fix the egg issue, drop the pyver stuff.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-runner/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 28 Dec 2006 11:39:07 -0000 1.2
+++ sources 29 Dec 2008 10:01:55 -0000 1.3
@@ -1 +1 @@
-ec4677a59dd2643d50da0914b3a1df88 TwistedRunner-0.2.0.tar.bz2
+8dcc0f4cbb0621b761ef67aae73051a8 TwistedRunner-8.0.0.tar.bz2
More information about the fedora-extras-commits
mailing list