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