Hello community,

here is the log from the commit of package apache-commons-parent for 
openSUSE:Leap:15.2 checked in at 2020-02-05 07:23:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/apache-commons-parent (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.apache-commons-parent.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-parent"

Wed Feb  5 07:23:06 2020 rev:10 rq:762703 version:47

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/apache-commons-parent/apache-commons-parent.changes
    2020-01-15 14:47:01.309279318 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.apache-commons-parent.new.26092/apache-commons-parent.changes
 2020-02-05 07:23:07.442587652 +0100
@@ -1,0 +2,11 @@
+Fri Apr  5 14:40:16 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Make the package suitable for building with maven. Do not patch
+  out useful plugins.
+
+-------------------------------------------------------------------
+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.neOtV1/_old  2020-02-05 07:23:07.746587781 +0100
+++ /var/tmp/diff_new_pack.neOtV1/_new  2020-02-05 07:23:07.746587781 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache-commons-parent
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,67 @@
 # 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:            https://commons.apache.org/commons-parent-pom.html
+Source0:        
https://archive.apache.org/dist/commons/%{short_name}/%{short_name}-%{version}-src.tar.gz
 BuildRequires:  javapackages-local
-BuildRequires:  javapackages-tools
-BuildRequires:  xz
-Requires:       java >= 1.6.0
-Provides:       jakarta-%{short_name} = %{version}-%{release}
-Obsoletes:      jakarta-%{short_name} < 23
-Provides:       %{short_name} = %{version}-%{release}
-Obsoletes:      %{short_name} < 23
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  xmvn-resolve
+BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-compiler-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-jar-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-surefire-plugin)
+BuildRequires:  mvn(org.apache:apache:pom:)
+# Not generated automatically
+BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
+Requires:       mvn(org.apache:apache:pom:)
+Requires:       mvn(org.codehaus.mojo:build-helper-maven-plugin)
 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
 
+# 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-source-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
+
 %build
-#nothing to do for the pom
 
 %install
-
-# poms
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
-%add_maven_depmap JPP-%{short_name}.pom
-
-%files
-%defattr(0644,root,root,0755)
-%doc LICENSE.txt NOTICE.txt
-%{_mavenpomdir}/*
-%{_datadir}/maven-metadata/%{name}.xml*
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{short_name}.pom
+%add_maven_depmap %{name}/%{short_name}.pom
+
+%files -f .mfiles
+%doc RELEASE-NOTES.txt
+%license LICENSE.txt NOTICE.txt
 
 %changelog


Reply via email to