[aqute-bnd] Resurrection of bundled non-class files

Jaromír Cápík jcapik at fedoraproject.org
Wed Oct 12 13:46:16 UTC 2011


commit 2487622ca31e46353ca576f7ef3c8259dfde7a88
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Wed Oct 12 15:46:06 2011 +0200

    Resurrection of bundled non-class files

 aqute-bnd.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/aqute-bnd.spec b/aqute-bnd.spec
index f8f729c..c8094db 100644
--- a/aqute-bnd.spec
+++ b/aqute-bnd.spec
@@ -30,7 +30,7 @@
 
 Name:           aqute-bnd
 Version:        0.0.363
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        BND Tool
 License:        ASL 2.0
 Group:          Development/Tools
@@ -88,7 +88,9 @@ sed -i "s|import aQute.lib.filter.*;||g" src/main/java/aQute/bnd/make/ComponentD
 sed -i "s|import aQute.lib.filter.*;||g" src/main/java/aQute/bnd/make/ServiceComponent.java
 
 # remove bundled stuff
-rm -rf aQute
+for f in $(find aQute/ -type f -name "*.class"); do
+    rm -f $f
+done
 
 # Convert CR+LF to LF
 sed -i "s|\r||g" LICENSE
@@ -159,6 +161,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 %{_javadocdir}/%{name}
 
 %changelog
+* Thu Sep 22 2011 Jaromir Capik <jcapik at redhat.com> - 0.0.363-3
+- Resurrection of bundled non-class files
+
 * Thu Sep 22 2011 Jaromir Capik <jcapik at redhat.com> - 0.0.363-2
 - Bundled classes removed
 - jpackage-utils dependency added to the javadoc subpackage


More information about the scm-commits mailing list