From 55aae16aa8ffc5689c58a062575c038a94b7cbd1 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 2 Aug 2019 10:07:48 +0200 Subject: [PATCH] Disable OSGi manifest injection unlit BND is fixed --- jdom2.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jdom2.spec b/jdom2.spec index 0e91029..b29a90e 100644 --- a/jdom2.spec +++ b/jdom2.spec @@ -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