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

tomspur tomspur at fedoraproject.org
Mon Jan 14 09:10:53 UTC 2013


commit d3c337b37ae6a6a9f1a364409c935a87beabdbf5
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Mon Jan 14 10:10:44 2013 +0100

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

 zeromq3.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/zeromq3.spec b/zeromq3.spec
index dda8963..0086bf1 100644
--- a/zeromq3.spec
+++ b/zeromq3.spec
@@ -2,7 +2,7 @@
 
 Name:           zeromq3
 Version:        3.2.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Software library for fast, message-based applications
 
 Group:          System Environment/Libraries
@@ -57,8 +57,8 @@ developing applications that use %{name} 3.x.
 %prep
 %setup -qn zeromq-%{version}
 
-# remove bundled libraries
-rm -rvf foreign/*/*tar*
+# remove all files in foreign except Makefiles
+rm -v $(find foreign -type f | grep -v Makefile)
 
 # Don't turn warnings into errors
 sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \
@@ -104,6 +104,10 @@ make check
 
 
 %changelog
+* Mon Jan 14 2013 Thomas Spura <tomspur at fedoraproject.org> - 3.2.2-3
+- delete foreign files with dubious license in %%prep (#892111)
+
+
 * Fri Dec 14 2012 Thomas Spura <tomspur at fedoraproject.org> - 3.2.2-2
 - add bcond_without pgm macro (Jose Pedro Oliveira, #867182)
 - remove bundled pgm


More information about the scm-commits mailing list