SPECS: python-shapely.spec - package ctypes_declarations.py file too

jajcus jajcus at pld-linux.org
Mon Apr 27 14:15:58 CEST 2009


Author: jajcus                       Date: Mon Apr 27 12:15:58 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package ctypes_declarations.py file too

---- Files affected:
SPECS:
   python-shapely.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-shapely.spec
diff -u SPECS/python-shapely.spec:1.1 SPECS/python-shapely.spec:1.2
--- SPECS/python-shapely.spec:1.1	Mon Apr 27 13:36:03 2009
+++ SPECS/python-shapely.spec	Mon Apr 27 14:15:53 2009
@@ -35,9 +35,10 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
-%py_postclean
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name '*.py' \
+	| grep -v ctypes_declarations | xargs rm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,6 +47,7 @@
 %defattr(644,root,root,755)
 %doc CHANGES.txt CREDITS.txt HISTORY.txt README.txt
 %dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/ctypes_declarations.py
 %{py_sitescriptdir}/%{module}/*.py[co]
 %dir %{py_sitescriptdir}/%{module}/geometry
 %{py_sitescriptdir}/%{module}/geometry/*.py[co]
@@ -59,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/04/27 12:15:53  jajcus
+- package ctypes_declarations.py file too
+
 Revision 1.1  2009/04/27 11:36:03  jajcus
 - new spec
 
================================================================

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



More information about the pld-cvs-commit mailing list