[objectweb-asm3] Change asm-all BSN to org.objectweb.asm

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Dec 5 09:42:33 UTC 2013


commit e316498a9c54796931609034062aa9a1958d2890
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Dec 5 10:39:22 2013 +0100

    Change asm-all BSN to org.objectweb.asm

 objectweb-asm3.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/objectweb-asm3.spec b/objectweb-asm3.spec
index 3b2a9a4..42cb927 100644
--- a/objectweb-asm3.spec
+++ b/objectweb-asm3.spec
@@ -1,6 +1,6 @@
 Name:           objectweb-asm3
 Version:        3.3.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Java bytecode manipulation and analysis framework
 License:        BSD
 URL:            http://asm.ow2.org/
@@ -32,6 +32,13 @@ find -name *.jar -delete
 
 sed -i /Class-path/d archive/asm-xml.xml
 
+# Our system version of asm always used BSN org.objectweb.asm for
+# asm-all because that's what Eclipse bundle has.  Now upstream
+# provides OSGi metadata with incompatible BSN, but we want to keep
+# compatibility with existing Eclipse plugins, so we have to use the
+# old BSN (org.objectweb.asm).
+sed -i s/org.objectweb.asm.all/org.objectweb.asm/ archive/asm-all.xml
+
 %build
 %ant -Dobjectweb.ant.tasks.path= jar jdoc
 
@@ -54,6 +61,9 @@ done
 %doc LICENSE.txt
 
 %changelog
+* Thu Dec  5 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.3.1-4
+- Change asm-all BSN to org.objectweb.asm
+
 * Tue Dec  3 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.3.1-3
 - Install asm-parent POM
 


More information about the scm-commits mailing list