SPECS: Zope-Proxy.spec - use optflags - files cleanup, .so perms

qboosh qboosh at pld-linux.org
Sat Jan 5 00:15:54 CET 2008


Author: qboosh                       Date: Fri Jan  4 23:15:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use optflags
- files cleanup, .so perms

---- Files affected:
SPECS:
   Zope-Proxy.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/Zope-Proxy.spec
diff -u SPECS/Zope-Proxy.spec:1.4 SPECS/Zope-Proxy.spec:1.5
--- SPECS/Zope-Proxy.spec:1.4	Fri Jan  4 23:47:44 2008
+++ SPECS/Zope-Proxy.spec	Sat Jan  5 00:15:49 2008
@@ -34,6 +34,7 @@
 %setup -q -n zope.proxy-%{version}
 
 %build
+export CFLAGS="%{rpmcflags}"
 python ./setup.py build
 
 %install
@@ -44,22 +45,34 @@
 	--root=$RPM_BUILD_ROOT
 
 %py_postclean
+rm $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/*.[ch]
+rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{py_sitedir}/zope/proxy
+%dir %{py_sitedir}/zope/proxy
+%{py_sitedir}/zope/proxy/*.cfg
+%{py_sitedir}/zope/proxy/*.py[co]
+%attr(755,root,root) %{py_sitedir}/zope/proxy/_zope_proxy_proxy.so
 %{py_sitedir}/zope.proxy-*.egg-info
 %{py_sitedir}/zope.proxy-*-nspkg.pth
 
+# -devel?
+#%{py_incdir}/zope.proxy
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-01-04 23:15:49  qboosh
+- use optflags
+- files cleanup, .so perms
+
 Revision 1.4  2008-01-04 22:47:44  qboosh
 - pl
 - python deps
================================================================

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



More information about the pld-cvs-commit mailing list