Syncing with factory

OBS-URL: https://build.opensuse.org/package/show/Java:packages/jdom?expand=0&rev=47
This commit is contained in:
Fridrich Strba 2020-02-17 09:17:48 +00:00 committed by Git OBS Bridge
parent c26306e2ea
commit 19b6da7ad3

View File

@ -1,7 +1,7 @@
# #
# spec file for package jdom # spec file for package jdom
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -147,13 +147,13 @@ Release: 0
Summary: The jaxen project is a Java XPath Engine Summary: The jaxen project is a Java XPath Engine
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
Provides: jaxen-bootstrap = %{version}
Obsoletes: jaxen-bootstrap < %{version}
Requires: mvn(dom4j:dom4j) Requires: mvn(dom4j:dom4j)
Requires: mvn(jdom:jdom) Requires: mvn(jdom:jdom)
Requires: mvn(xerces:xercesImpl) Requires: mvn(xerces:xercesImpl)
Requires: mvn(xml-apis:xml-apis) Requires: mvn(xml-apis:xml-apis)
Requires: mvn(xom:xom) Requires: mvn(xom:xom)
Provides: jaxen-bootstrap = %{version}
Obsoletes: jaxen-bootstrap < %{version}
%description -n jaxen %description -n jaxen
Jaxen is a universal object model walker, capable of evaluating XPath Jaxen is a universal object model walker, capable of evaluating XPath
@ -204,7 +204,7 @@ ant -Dparser.jar=$(build-classpath xerces-j2) \
-Dxml-apis.jar=$(build-classpath xml-commons-apis) \ -Dxml-apis.jar=$(build-classpath xml-commons-apis) \
-Djaxen.lib.dir=%{jdom_dir} \ -Djaxen.lib.dir=%{jdom_dir} \
-Dcompile.source=1.6 -Dcompile.target=1.6 \ -Dcompile.source=1.6 -Dcompile.target=1.6 \
-Dversion=%{jdom_version} \ -Dversion=%jdom_version \
package package
mv build/jdom-%{jdom_version}.jar %{_builddir}/jdom-%{jdom_version}.jar mv build/jdom-%{jdom_version}.jar %{_builddir}/jdom-%{jdom_version}.jar
rm jaxen.jar rm jaxen.jar