SPECS: python-TwistedNames.spec - if noarch package then install t...

glen glen at pld-linux.org
Sun Jan 6 18:06:04 CET 2008


Author: glen                         Date: Sun Jan  6 17:06:04 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- if noarch package then install to noarch dir; rel 2

---- Files affected:
SPECS:
   python-TwistedNames.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/python-TwistedNames.spec
diff -u SPECS/python-TwistedNames.spec:1.4 SPECS/python-TwistedNames.spec:1.5
--- SPECS/python-TwistedNames.spec:1.4	Mon Feb 12 23:09:12 2007
+++ SPECS/python-TwistedNames.spec	Sun Jan  6 18:05:59 2008
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Serwer nazw oraz biblioteka kliencka rozwiązująca nazwy
 Name:		python-%{module}
 Version:	%{major}.%{minor}
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries/Python
 Source0:	http://tmrc.mit.edu/mirror/twisted/Names/%{major}/%{module}-%{version}.tar.bz2
@@ -53,9 +53,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 python setup.py install \
-	--install-purelib=%{py_sitedir} \
+	--install-purelib=%{py_sitescriptdir} \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
@@ -67,9 +66,9 @@
 %files
 %defattr(644,root,root,755)
 %doc LICENSE NEWS README
-%{py_sitedir}/*.egg-info
-%{py_sitedir}/twisted/names
-%{py_sitedir}/twisted/plugins/*
+%{py_sitescriptdir}/*.egg-info
+%{py_sitescriptdir}/twisted/names
+%{py_sitescriptdir}/twisted/plugins/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -77,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-01-06 17:05:59  glen
+- if noarch package then install to noarch dir; rel 2
+
 Revision 1.4  2007-02-12 22:09:12  glen
 - tabs in preamble
 
================================================================

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



More information about the pld-cvs-commit mailing list