Hello community,
here is the log from the commit of package apache-commons-cli for
openSUSE:Factory checked in at 2017-05-22 10:47:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-cli (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-cli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-cli"
Mon May 22 10:47:21 2017 rev:6 rq:496661 version:1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-commons-cli/apache-commons-cli.changes
2015-04-02 15:52:09.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-cli.new/apache-commons-cli.changes
2017-05-22 10:48:34.935622044 +0200
@@ -1,0 +2,5 @@
+Fri May 19 08:41:33 UTC 2017 - [email protected]
+
+- Fix build with new javapackages-tools
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-cli.spec ++++++
--- /var/tmp/diff_new_pack.cEXgrd/_old 2017-05-22 10:48:35.635523396 +0200
+++ /var/tmp/diff_new_pack.cEXgrd/_new 2017-05-22 10:48:35.639522833 +0200
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-cli
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,6 @@
%global base_name cli
%global short_name commons-%{base_name}
-%global with_maven 0
-
Name: apache-commons-cli
Version: 1.2
Release: 0
@@ -32,14 +30,12 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: ant
+BuildRequires: javapackages-local
BuildRequires: javapackages-tools
Requires: java >= 1.6.0
-Requires: javapackages-tools
-Requires(post): javapackages-tools
-Requires(postun): javapackages-tools
Provides: jakarta-%{short_name} = %{version}-%{release}
-Obsoletes: jakarta-%{short_name} < 1.1-6
-Provides: apache-cli
+Obsoletes: jakarta-%{short_name} < %{version}
+Provides: apache-cli = %{version}
Provides: java(commons-cli:commons-cli) = %{version}
Obsoletes: apache-cli < 1.2
@@ -50,8 +46,8 @@
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Libraries/Java
-Requires: javapackages-tools
-Obsoletes: jakarta-%{short_name}-javadoc < 1.1-6
+Provides: jakarta-%{short_name}-javadoc = %{version}
+Obsoletes: jakarta-%{short_name}-javadoc < %{version}
%description javadoc
This package contains the API documentation for %{name}.
@@ -90,7 +86,11 @@
%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
%{_javadir}/*
%{_mavenpomdir}/*
+%if %{?suse_version} > 1320
%{_datadir}/maven-metadata/%{name}.xml
+%else
+%config(noreplace) %{_mavendepmapfragdir}/%{name}
+%endif
%files javadoc
%defattr(-,root,root)