Hello community,

here is the log from the commit of package apache-commons-codec for 
openSUSE:Factory checked in at 2017-05-31 13:27:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-codec (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-codec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-codec"

Wed May 31 13:27:54 2017 rev:14 rq:496507 version:1.10

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-codec/apache-commons-codec.changes    
    2015-04-02 15:52:20.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-codec.new/apache-commons-codec.changes
   2017-05-31 13:27:57.867395195 +0200
@@ -1,0 +2,5 @@
+Fri May 19 08:43:40 UTC 2017 - [email protected]
+
+- Fix build with new javapackages-tools
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache-commons-codec.spec ++++++
--- /var/tmp/diff_new_pack.nU7Ren/_old  2017-05-31 13:27:59.923105442 +0200
+++ /var/tmp/diff_new_pack.nU7Ren/_new  2017-05-31 13:27:59.927104879 +0200
@@ -1,9 +1,8 @@
 #
 # spec file for package apache-commons-codec
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2000-2010, JPackage Project
-# All rights reserved.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,56 +17,32 @@
 #
 
 
-# % bcond_without maven
-
 %define base_name  codec
 %define short_name commons-%{base_name}
-
 Name:           apache-commons-codec
 Version:        1.10
 Release:        0
 Summary:        Apache Commons Codec Package
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-
 Url:            http://commons.apache.org/codec/
 Source0:        
http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
 Source4:        MANIFEST.MF
-
 # PATCH-FIX-OPENSUSE Avoid spurious timeout in BeiderMorse tests
 Patch0:         timeout.patch
-
 BuildRequires:  ant >= 1.7
 BuildRequires:  ant-junit >= 1.7
+BuildRequires:  javapackages-local
 BuildRequires:  javapackages-tools
 # FIXME: mozilla-nss is necessary in order to use crypto, which is tested via 
junit tests
 #        this should be a dependency of openjdk itself
 BuildRequires:  junit
 BuildRequires:  mozilla-nss
-
-%if %with maven
-BuildRequires:  apache-commons-parent >= 12
-BuildRequires:  maven-surefire-maven-plugin
-BuildRequires:  maven-surefire-provider-junit
-BuildRequires:  maven2 >= 2.0.8
-BuildRequires:  maven2-plugin-antrun
-BuildRequires:  maven2-plugin-assembly
-BuildRequires:  maven2-plugin-compiler
-BuildRequires:  maven2-plugin-idea
-BuildRequires:  maven2-plugin-install
-BuildRequires:  maven2-plugin-jar
-BuildRequires:  maven2-plugin-javadoc
-BuildRequires:  maven2-plugin-resources
-%endif
-Requires(post): javapackages-tools
-Requires(postun): javapackages-tools
-
 Requires:       java >= 1.6.0
 Provides:       jakarta-%{short_name} = %{version}
 Obsoletes:      jakarta-%{short_name} < %{version}
 Provides:       %{short_name} = %{version}
 Obsoletes:      %{short_name} < %{version}
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -142,11 +117,7 @@
 
 # javadoc
 mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version}
-%if %with maven
-cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}-%{version}
-%else
 cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}-%{version}
-%endif
 ln -s %{name}-%{version} 
%{buildroot}%{_javadocdir}/jakarta-%{short_name}-%{version}
 ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/jakarta-%{short_name}
 ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
@@ -156,7 +127,11 @@
 %doc LICENSE.txt RELEASE-NOTES.txt
 %{_javadir}/*.jar
 %{_mavenpomdir}/*
-%{_datadir}/maven-metadata/%{name}.xml*
+%if %{?suse_version} > 1320
+%{_datadir}/maven-metadata/%{name}.xml
+%else
+%config(noreplace) %{_mavendepmapfragdir}/%{name}
+%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)


Reply via email to