Avoid calling XMvn from build-classpath

This commit is contained in:
Mikolaj Izdebski 2016-06-01 10:47:13 +02:00
parent 92465bd9e0
commit 489c6ecbe8

View File

@ -3,7 +3,7 @@
Name: %{?scl_prefix}objectweb-asm Name: %{?scl_prefix}objectweb-asm
Version: 5.1 Version: 5.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Java bytecode manipulation and analysis framework Summary: Java bytecode manipulation and analysis framework
License: BSD License: BSD
URL: http://asm.ow2.org/ URL: http://asm.ow2.org/
@ -39,7 +39,7 @@ find -name *.jar -delete
sed -i /Class-Path/d archive/*.bnd sed -i /Class-Path/d archive/*.bnd
sed -i "s/Import-Package:/&org.objectweb.asm,org.objectweb.asm.util,/" archive/asm-xml.bnd sed -i "s/Import-Package:/&org.objectweb.asm,org.objectweb.asm.util,/" archive/asm-xml.bnd
sed -i "s|\${config}/biz.aQute.bnd.jar|`build-classpath aqute-bnd slf4j/api slf4j/simple org.eclipse.osgi:org.eclipse.osgi.services`|" archive/*.xml sed -i "s|\${config}/biz.aQute.bnd.jar|`build-classpath aqute-bnd slf4j/api slf4j/simple eclipse/osgi.services`|" archive/*.xml
sed -i -e '/kind="lib"/d' -e 's|output/eclipse|output/build|' .classpath sed -i -e '/kind="lib"/d' -e 's|output/eclipse|output/build|' .classpath
%build %build
@ -66,6 +66,9 @@ done
%doc LICENSE.txt %doc LICENSE.txt
%changelog %changelog
* Wed Jun 1 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1-3
- Avoid calling XMvn from build-classpath
* Tue May 31 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1-2 * Tue May 31 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1-2
- Add missing JARs to BND classpath - Add missing JARs to BND classpath