[python-zmq] not all *.c files may be deleted, when receneration of .c files by Cython/remove bundled folder expl

tomspur tomspur at fedoraproject.org
Mon Oct 15 08:31:01 UTC 2012


commit e5e1aa433ea804bacf197d64a16c27d5b6524165
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Mon Oct 15 10:30:48 2012 +0200

    not all *.c files may be deleted, when receneration of .c files by Cython/remove bundled folder explicitely
    
    Signed-off-by: Thomas Spura <thomas.spura at gmail.com>

 python-zmq.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-zmq.spec b/python-zmq.spec
index 1061979..f9d4470 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -111,9 +111,12 @@ This package contains the testsuite for the python bindings.
 %setup -q -n %{srcname}-%{version}
 
 # forcibly regenerate the Cython-generated .c files:
-find -name "*.c" -delete
+find zmq -name "*.c" -delete
 %{__python} setup.py cython
 
+# remove bundled libraries
+rm -rf bundled
+
 # remove shebangs
 for lib in zmq/eventloop/*.py; do
     sed '/\/usr\/bin\/env/d' $lib > $lib.new &&
@@ -217,6 +220,8 @@ popd
 * Mon Oct 15 2012 Thomas Spura <tomspur at fedoraproject.org> - 2.2.0.1-1
 - update to 2.2.0.1
 - move to BR zeromq3
+- not all *.c files may be deleted, when receneration of .c files by Cython
+- remove bundled folder explicitely
 
 * Sat Aug 04 2012 David Malcolm <dmalcolm at redhat.com> - 2.2.0-5
 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3


More information about the scm-commits mailing list