Hello community,

here is the log from the commit of package apache-commons-parent for 
openSUSE:Factory checked in at 2018-12-14 20:44:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-parent (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-parent.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-parent"

Fri Dec 14 20:44:01 2018 rev:12 rq:656109 version:47

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-parent/apache-commons-parent.changes  
    2017-05-31 13:31:14.263712649 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-parent.new.28833/apache-commons-parent.changes
   2018-12-14 20:44:03.177785637 +0100
@@ -1,0 +2,5 @@
+Tue Oct 23 18:07:02 UTC 2018 - Fridrich Strba <fst...@suse.com>
+
+- Upgrade to version 47 and cleanup the pom file installation
+
+-------------------------------------------------------------------

Old:
----
  commons-parent-32.tar.xz

New:
----
  commons-parent-47-src.tar.gz

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

Other differences:
------------------
++++++ apache-commons-parent.spec ++++++
--- /var/tmp/diff_new_pack.gFb1Ht/_old  2018-12-14 20:44:04.089784375 +0100
+++ /var/tmp/diff_new_pack.gFb1Ht/_new  2018-12-14 20:44:04.093784369 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache-commons-parent
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -12,57 +12,73 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define base_name       parent
 %define short_name      commons-%{base_name}
 Name:           apache-%{short_name}
-Version:        32
+Version:        47
 Release:        0
 Summary:        Apache Commons Parent Pom
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-Url:            
http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
-# svn export 
http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-32
-# tar caf commons-parent-32.tar.xz commons-parent-32
-Source0:        %{short_name}-%{version}.tar.xz
+URL:            
http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
+Source0:        
https://archive.apache.org/dist/commons/%{short_name}/%{short_name}-%{version}-src.tar.gz
+BuildRequires:  apache-parent
 BuildRequires:  javapackages-local
-BuildRequires:  javapackages-tools
-BuildRequires:  xz
-Requires:       java >= 1.6.0
+Requires:       apache-parent
+Requires:       java >= 1.6
 Provides:       jakarta-%{short_name} = %{version}-%{release}
-Obsoletes:      jakarta-%{short_name} < 23
+Obsoletes:      jakarta-%{short_name} < %{version}-%{release}
 Provides:       %{short_name} = %{version}-%{release}
-Obsoletes:      %{short_name} < 23
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Obsoletes:      %{short_name} < %{version}-%{release}
 BuildArch:      noarch
 
 %description
 The Project Object Model files for the apache-commons packages.
 
 %prep
-%setup -q -n %{short_name}-%{version}
+%setup -q -n %{short_name}-%{version}-src
 
 # Plugin is not in suse
 %pom_remove_plugin org.apache.commons:commons-build-plugin
 %pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin
 
-%build
-#nothing to do for the pom
+# Plugins useless in package builds
+%pom_remove_plugin :apache-rat-plugin
+%pom_remove_plugin :buildnumber-maven-plugin
+%pom_remove_plugin :maven-enforcer-plugin
+%pom_remove_plugin :maven-site-plugin
+
+%pom_remove_plugin :maven-assembly-plugin
+%pom_remove_plugin :maven-antrun-plugin
+%pom_remove_plugin :maven-compiler-plugin
+%pom_remove_plugin :maven-jar-plugin
+%pom_remove_plugin :maven-source-plugin
+%pom_remove_plugin :maven-surefire-plugin
+%pom_remove_plugin :maven-bundle-plugin
+
+# Remove profiles for plugins that are useless in package builds
+for profile in animal-sniffer japicmp jacoco cobertura clirr; do
+    %pom_xpath_remove "pom:profile[pom:id='$profile']"
+done
 
 %install
-
-# poms
+# pom
 install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
-%add_maven_depmap JPP-%{short_name}.pom
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom
 
 %files
-%defattr(0644,root,root,0755)
-%doc LICENSE.txt NOTICE.txt
+%doc RELEASE-NOTES.txt
+%license LICENSE.txt NOTICE.txt
 %{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
 %{_datadir}/maven-metadata/%{name}.xml*
+%endif
 
 %changelog


Reply via email to