SPECS: python-gpg.spec - install to noarch dir; rel 2

glen glen at pld-linux.org
Sun Jan 6 17:57:21 CET 2008


Author: glen                         Date: Sun Jan  6 16:57:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install to noarch dir; rel 2

---- Files affected:
SPECS:
   python-gpg.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/python-gpg.spec
diff -u SPECS/python-gpg.spec:1.7 SPECS/python-gpg.spec:1.8
--- SPECS/python-gpg.spec:1.7	Tue Feb 13 09:06:42 2007
+++ SPECS/python-gpg.spec	Sun Jan  6 17:57:15 2008
@@ -5,7 +5,7 @@
 Name:		python-%{module}
 # it's cvs revision number
 Version:	1.3
-Release:	1
+Release:	2
 License:	GPL
 Group:		Libraries/Python
 # http://cvs.sourceforge.net/viewcvs.py/pycrypto/gpg/GPG.py
@@ -27,19 +27,18 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-
-install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitedir}
-
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+install %{SOURCE0} $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{py_sitedir}/*.py?
+%{py_sitescriptdir}/*.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -47,6 +46,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008-01-06 16:57:15  glen
+- install to noarch dir; rel 2
+
 Revision 1.7  2007-02-13 08:06:42  glen
 - tabs in preamble
 
================================================================

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



More information about the pld-cvs-commit mailing list