SPECS: python-TwistedConch.spec - redefine purelib location like i...

wiget wiget at pld-linux.org
Wed Jun 7 21:33:34 CEST 2006


Author: wiget                        Date: Wed Jun  7 19:33:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- redefine purelib location like in TwistedCore

---- Files affected:
SPECS:
   python-TwistedConch.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/python-TwistedConch.spec
diff -u SPECS/python-TwistedConch.spec:1.6 SPECS/python-TwistedConch.spec:1.7
--- SPECS/python-TwistedConch.spec:1.6	Sun Jun  4 01:32:49 2006
+++ SPECS/python-TwistedConch.spec	Wed Jun  7 21:33:29 2006
@@ -7,7 +7,7 @@
 Summary(pl):	Implementacja SSHv2 dla Twisted
 Name:		python-%{module}
 Version:	%{major}.%{minor}
-Release:	0.2
+Release:	0.3
 License:	MIT
 Group:		Libraries/Python
 Source0:	http://tmrc.mit.edu/mirror/twisted/Conch/%{major}/%{module}-%{version}.tar.bz2
@@ -64,13 +64,12 @@
 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/conch $RPM_BUILD_ROOT%{py_sitedir}/twisted/conch
-
 install doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 cp -ar doc/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
@@ -82,7 +81,7 @@
 %doc LICENSE NEWS README
 %attr(755,root,root) %{_bindir}/*
 %{py_sitedir}/twisted/conch
-%{py_sitescriptdir}/twisted
+%{py_sitedir}/twisted/plugins/*
 %{_mandir}/man1/*.1*
 
 %files doc
@@ -99,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/06/07 19:33:29  wiget
+- redefine purelib location like in TwistedCore
+
 Revision 1.6  2006/06/03 23:32:49  qboosh
 - Obsoletes: python-Twisted-conch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-TwistedConch.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list