Disable OSGi manifest injection unlit BND is fixed

f38
Mikolaj Izdebski 5 years ago
parent cddc13168f
commit 55aae16aa8

@ -27,7 +27,7 @@ BuildRequires: xalan-j2
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
BuildRequires: log4j12
BuildRequires: aqute-bnd
#BuildRequires: aqute-bnd
BuildArch: noarch
@ -68,9 +68,10 @@ build-jar-repository lib xerces-j2 xml-commons-apis jaxen junit isorelax xalan-j
ant -Dversion=%{version} -Dj2se.apidoc=%{_javadocdir}/java maven
# Make jar into an OSGi bundle
bnd wrap --output build/package/jdom-%{version}.bar --properties %{SOURCE3} \
--version %{version} build/package/jdom-%{version}.jar
mv build/package/jdom-%{version}.bar build/package/jdom-%{version}.jar
# XXX disabled until BND is fixed
#bnd wrap --output build/package/jdom-%{version}.bar --properties %{SOURCE3} \
# --version %{version} build/package/jdom-%{version}.jar
#mv build/package/jdom-%{version}.bar build/package/jdom-%{version}.jar
%install
%mvn_artifact build/maven/core/%{name}-%{version}.pom build/package/jdom-%{version}.jar

Loading…
Cancel
Save