rpms/python-twisted-core/devel .cvsignore, 1.3, 1.4 python-twisted-core.spec, 1.11, 1.12 sources, 1.4, 1.5

Matthias Saou thias at fedoraproject.org
Tue Dec 30 18:17:15 UTC 2008


Author: thias

Update of /cvs/extras/rpms/python-twisted-core/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32255/python-twisted-core/devel

Modified Files:
	.cvsignore python-twisted-core.spec sources 
Log Message:
Update to 8.2.0.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-core/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	23 Dec 2008 21:17:35 -0000	1.3
+++ .cvsignore	30 Dec 2008 18:16:44 -0000	1.4
@@ -1 +1 @@
-TwistedCore-8.1.0.tar.bz2
+TwistedCore-8.2.0.tar.bz2


Index: python-twisted-core.spec
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-core/devel/python-twisted-core.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- python-twisted-core.spec	23 Dec 2008 21:17:35 -0000	1.11
+++ python-twisted-core.spec	30 Dec 2008 18:16:44 -0000	1.12
@@ -2,8 +2,8 @@
 %{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           %{python}-twisted-core
-Version:        8.1.0
-Release:        2%{?dist}
+Version:        8.2.0
+Release:        1%{?dist}
 Summary:        Asynchronous networking framework written in Python
 Group:          Development/Libraries
 License:        MIT
@@ -53,74 +53,74 @@
 %setup -q -n TwistedCore-%{version}
 
 # Turn off exec bits on docs to avoid spurious dependencies
-/usr/bin/find doc -type f | /usr/bin/xargs chmod 644
+find doc -type f | xargs chmod 644
 
 # Fix line endings
-%{__sed} -i -e 's,\r$,,' doc/howto/listings/udp/*
+sed -i -e 's,\r$,,' doc/howto/listings/udp/*
 
 # Remove spurious shellbangs
-%{__sed} -i -e '/^#! *\/usr\/bin\/python/d' \
+sed -i -e '/^#! *\/usr\/bin\/python/d' \
     twisted/internet/glib2reactor.py
-%{__sed} -i -e '/^#!\/bin\/python/d' \
+sed -i -e '/^#!\/bin\/python/d' \
     twisted/trial/test/scripttest.py
 
 # Generate a brief README.zsh
-%{__awk} '/^Zsh Notes:/,/^Have fun!/' twisted/python/zshcomp.py > README.zsh
+awk '/^Zsh Notes:/,/^Have fun!/' twisted/python/zshcomp.py > README.zsh
 
 # Fix encodings
 for f in CREDITS LICENSE; do
-    /usr/bin/iconv -f iso-8859-1 -t utf-8 < ${f} > ${f}.utf8
-    %{__mv} -f ${f}.utf8 ${f}
+    iconv -f iso-8859-1 -t utf-8 < ${f} > ${f}.utf8
+    mv -f ${f}.utf8 ${f}
 done
 
 %build
-CFLAGS="%{optflags}" %{python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{python} setup.py build
 
 %install
-%{__rm} -rf %{buildroot}
-%{python} setup.py install -O1 --skip-build --root %{buildroot}
+rm -rf $RPM_BUILD_ROOT
+%{python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 # cfsupport is support for MacOSX Core Foundations, so we can delete it
-%{__rm} -rf %{buildroot}%{python_sitearch}/twisted/internet/cfsupport
+rm -rf $RPM_BUILD_ROOT%{python_sitearch}/twisted/internet/cfsupport
 
 # iocpreactor is a win32 reactor, so we can delete it
-%{__rm} -rf %{buildroot}%{python_sitearch}/twisted/internet/iocpreactor
+rm -rf $RPM_BUILD_ROOT%{python_sitearch}/twisted/internet/iocpreactor
 
 # Man pages
-%{__mkdir_p} %{buildroot}%{_mandir}/man1/
-%{__cp} -a doc/man/*.1 %{buildroot}%{_mandir}/man1/
-%{__rm} -rf doc/man
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
+cp -a doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+rm -rf doc/man
 
 # Zsh tab complete stub (à la teratorn)
-%{__mkdir_p} %{buildroot}%{_datadir}/zsh/site-functions/
-%{__sed} -e 's#python -c#%{python} -c#g' twisted/python/_twisted_zsh_stub \
-    > %{buildroot}%{_datadir}/zsh/site-functions/_twisted_zsh_stub
-%{__rm} -f %{buildroot}%{python_sitearch}/twisted/python/_twisted_zsh_stub
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/
+sed -e 's#python -c#%{python} -c#g' twisted/python/_twisted_zsh_stub \
+    > $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_twisted_zsh_stub
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/twisted/python/_twisted_zsh_stub
 
 # Some of the zsh completions are no longer appropriate
-/usr/bin/find %{buildroot}%{python_sitearch}/twisted/python/zsh -size 0c -exec %{__rm} -f {} \;
+find $RPM_BUILD_ROOT%{python_sitearch}/twisted/python/zsh -size 0c -exec rm -f {} \;
 
 # script to regenerate dropin.cache
-%{__mkdir_p} %{buildroot}%{_libexecdir}
-%{__install} -m 755 %{SOURCE1} %{buildroot}%{_libexecdir}
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
+install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_libexecdir}
 
 # Create an empty dropin.cache to be %ghost-ed
-/bin/touch %{buildroot}%{python_sitearch}/twisted/plugins/dropin.cache
+touch $RPM_BUILD_ROOT%{python_sitearch}/twisted/plugins/dropin.cache
 
 # C files don't need to be packaged
-%{__rm} -f %{buildroot}%{python_sitearch}/twisted/protocols/_c_urlarg.c
-%{__rm} -f %{buildroot}%{python_sitearch}/twisted/python/_epoll.c
-%{__rm} -f %{buildroot}%{python_sitearch}/twisted/test/raiser.c
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/twisted/protocols/_c_urlarg.c
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/twisted/python/_epoll.c
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/twisted/test/raiser.c
 
 # Fix permissions of shared objects
-%{__chmod} 755 %{buildroot}%{python_sitearch}/twisted/protocols/_c_urlarg.so
-%{__chmod} 755 %{buildroot}%{python_sitearch}/twisted/python/_epoll.so
-%{__chmod} 755 %{buildroot}%{python_sitearch}/twisted/test/raiser.so
+chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/twisted/protocols/_c_urlarg.so
+chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/twisted/python/_epoll.so
+chmod 755 $RPM_BUILD_ROOT%{python_sitearch}/twisted/test/raiser.so
 
 # 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}||'
+if [ -f $RPM_BUILD_ROOT%{python_sitearch}/Twisted*.egg-info ]; then
+    echo $RPM_BUILD_ROOT%{python_sitearch}/Twisted*.egg-info |
+        sed -e "s|^$RPM_BUILD_ROOT||"
 fi > egg-info
 
 %check
@@ -128,7 +128,7 @@
 # can't get this to work within the buildroot yet
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %post
 %{_libexecdir}/twisted-dropin-cache || :
@@ -145,7 +145,6 @@
 %{_bindir}/manhole
 %{_bindir}/mktap
 %{_bindir}/pyhtmlizer
-%{_bindir}/t-im
 %{_bindir}/tap2deb
 %{_bindir}/tap2rpm
 %{_bindir}/tapconvert
@@ -193,6 +192,10 @@
 %{_datadir}/zsh/site-functions/_twisted_zsh_stub
 
 %changelog
+* Mon Dec 29 2008 Matthias Saou <http://freshrpms.net/> 8.2.0-1
+- Update to 8.2.0.
+- Change back spec cosmetic details from Paul's to Thomas' preference.
+
 * Tue Dec 23 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-2
 - Re-introduce the python macro for parallel installable packages.
 - Make sure the scriplet never returns a non-zero exit status.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-core/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	23 Dec 2008 21:17:35 -0000	1.4
+++ sources	30 Dec 2008 18:16:44 -0000	1.5
@@ -1 +1 @@
-b6f766c7512d342be1844eeee974031d  TwistedCore-8.1.0.tar.bz2
+46f7a6b3e29ef48c4035c22d78f69196  TwistedCore-8.2.0.tar.bz2




More information about the fedora-extras-commits mailing list