SPECS: python-TwistedWords.spec - updated to 8.1.0

wiget wiget at pld-linux.org
Sun Oct 5 10:59:06 CEST 2008


Author: wiget                        Date: Sun Oct  5 08:59:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 8.1.0

---- Files affected:
SPECS:
   python-TwistedWords.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/python-TwistedWords.spec
diff -u SPECS/python-TwistedWords.spec:1.8 SPECS/python-TwistedWords.spec:1.9
--- SPECS/python-TwistedWords.spec:1.8	Fri May  2 20:50:07 2008
+++ SPECS/python-TwistedWords.spec	Sun Oct  5 10:59:01 2008
@@ -1,18 +1,18 @@
 # $Revision$, $Date$
 %define 	module	TwistedWords
-%define		major	8.0
+%define		major	8.1
 %define		minor	0
 
 Summary:	Chat and Instant Messaging for Twisted
 Summary(pl.UTF-8):	Chat oraz Instant Messaging dla Twisted
 Name:		python-%{module}
 Version:	%{major}.%{minor}
-Release:	0.1
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 Source0:	http://tmrc.mit.edu/mirror/twisted/Words/%{major}/%{module}-%{version}.tar.bz2
-# Source0-md5:	8c142fc30bcadf41b1ff68b5f4101418
-URL:		http://twistedmatrix.com/projects/words/
+# Source0-md5:	40cecdc6d58efefdb02b50961bb9a381
+URL:		http://twistedmatrix.com/trac/wiki/TwistedWords
 BuildRequires:	ZopeInterface
 BuildRequires:	python-devel >= 2.2
 Requires:	python-TwistedCore >= 2.4.0
@@ -74,12 +74,11 @@
 install -d $RPM_BUILD_ROOT{%{py_sitedir}/twisted,%{py_sitescriptdir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
 
 python setup.py install \
+	--install-purelib=%{py_sitedir} \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
-
-ln -sf %{py_sitescriptdir}/twisted/words $RPM_BUILD_ROOT%{py_sitedir}/twisted/words
+%py_postclean
 
 install doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 cp -a doc/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -91,9 +90,9 @@
 %defattr(644,root,root,755)
 %doc LICENSE NEWS README
 %attr(755,root,root) %{_bindir}/*
+%{py_sitedir}/*.egg-info
 %{py_sitedir}/twisted/words
-%{py_sitescriptdir}/*.egg-info
-%{py_sitescriptdir}/twisted
+%{py_sitedir}/twisted/plugins/*
 %{_mandir}/man1/*.1*
 
 %files doc
@@ -110,6 +109,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008/10/05 08:59:01  wiget
+- updated to 8.1.0
+
 Revision 1.8  2008/05/02 18:50:07  luzik
 - updated to 8.0.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-TwistedWords.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list