[packages/python-zmq] Package the *.pxd files

jajcus jajcus at pld-linux.org
Sat Jul 28 16:17:48 CEST 2012


commit ac201f68cba538d55f5f872bd3c0bede73d0bc7f
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Jul 28 16:11:20 2012 +0200

    Package the *.pxd files
    
    I can see no reason to omit them. We should never limit software
    functionality when packaging it, unless this introduces other problems
    (e.g. dependencies).

 python-zmq.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-zmq.spec b/python-zmq.spec
index 3e867fa..23eda22 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -77,9 +77,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %py_postclean
 rm -rf $RPM_BUILD_ROOT%{py_sitedir}/zmq/tests
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/zmq/{core,devices,utils}/*.pxd
 rm -rf $RPM_BUILD_ROOT%{py3_sitedir}/zmq/tests
-rm -f $RPM_BUILD_ROOT%{py3_sitedir}/zmq/{core,devices,utils}/*.pxd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -92,9 +90,11 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/zmq/core
 %{py_sitedir}/zmq/core/*.py[co]
 %attr(755,root,root) %{py_sitedir}/zmq/core/*.so
+%{py_sitedir}/zmq/core/*.pxd
 %dir %{py_sitedir}/zmq/devices
 %{py_sitedir}/zmq/devices/*.py[co]
 %attr(755,root,root) %{py_sitedir}/zmq/devices/*.so
+%{py_sitedir}/zmq/devices/*.pxd
 %dir %{py_sitedir}/zmq/eventloop
 %{py_sitedir}/zmq/eventloop/*.py[co]
 %dir %{py_sitedir}/zmq/eventloop/platform
@@ -106,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/zmq/utils
 %{py_sitedir}/zmq/utils/*.py[co]
 %attr(755,root,root) %{py_sitedir}/zmq/utils/*.so
+%{py_sitedir}/zmq/utils/*.pxd
 %dir %{py_sitedir}/zmq/web
 %{py_sitedir}/zmq/web/*.py[co]
 %if "%{py_ver}" > "2.4"
@@ -132,12 +133,15 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py3_sitedir}/zmq/utils/*.so
 %{py3_sitedir}/zmq/*.py
 %{py3_sitedir}/zmq/core/*.py
+%{py3_sitedir}/zmq/core/*.pxd
 %{py3_sitedir}/zmq/devices/*.py
+%{py3_sitedir}/zmq/devices/*.pxd
 %{py3_sitedir}/zmq/eventloop/*.py
 %{py3_sitedir}/zmq/eventloop/platform/*.py
 %{py3_sitedir}/zmq/log/*.py
 %{py3_sitedir}/zmq/ssh/*.py
 %{py3_sitedir}/zmq/utils/*.py
+%{py3_sitedir}/zmq/utils/*.pxd
 %{py3_sitedir}/zmq/web/*.py
 %{py3_sitedir}/zmq/__pycache__
 %{py3_sitedir}/zmq/*/__pycache__


More information about the pld-cvs-commit mailing list