[zeromq] delete foreign files with dubious license in %%prep (#892111)

tomspur tomspur at fedoraproject.org
Mon Jan 14 08:19:02 UTC 2013


commit 541d320bf12f0adad0d959fd146998a033818597
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Mon Jan 14 09:18:53 2013 +0100

    delete foreign files with dubious license in %%prep (#892111)

 zeromq.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/zeromq.spec b/zeromq.spec
index dea35a7..efd41bf 100644
--- a/zeromq.spec
+++ b/zeromq.spec
@@ -2,7 +2,7 @@
 
 Name:           zeromq
 Version:        2.2.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Software library for fast, message-based applications
 
 Group:          System Environment/Libraries
@@ -55,8 +55,8 @@ developing applications that use %{name}.
 sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \
     configure
 
-# remove bundled libraries
-rm -rvf foreign/*/*tar*
+# remove all files in foreign except Makefiles
+rm -v $(find foreign -type f | grep -v Makefile)
 
 
 %build
@@ -101,6 +101,9 @@ make check
 
 
 %changelog
+* Mon Jan 14 2013 Thomas Spura <tomspur at fedoraproject.org> - 2.2.0-4
+- delete foreign files with dubious license in %%prep (#892111)
+
 * Mon Dec 24 2012 Thomas Spura <tomspur at fedoraproject.org> - 2.2.0-3
 - add bcond_without pgm macro (Jose Pedro Oliveira, #867182)
 - remove bundled pgm


More information about the scm-commits mailing list