Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit apache-commons-parent for openSUSE:Factory
Hello community,

here is the log from the commit of package apache-commons-parent for
openSUSE:Factory checked in at 2019-04-30 12:57:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-parent (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-parent.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-parent"

Tue Apr 30 12:57:25 2019 rev:13 rq:691849 version:47

Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-parent/apache-commons-parent.changes
2018-12-14 20:44:03.177785637 +0100
+++
/work/SRC/openSUSE:Factory/.apache-commons-parent.new.5536/apache-commons-parent.changes
2019-04-30 12:57:30.458169230 +0200
@@ -1,0 +2,6 @@
+Fri Apr 5 14:40:16 UTC 2019 - Fridrich Strba <fstrba@xxxxxxxx>
+
+- Make the package suitable for building with maven. Do not patch
+ out useful plugins.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apache-commons-parent.spec ++++++
--- /var/tmp/diff_new_pack.yJiGWO/_old 2019-04-30 12:57:31.490168588 +0200
+++ /var/tmp/diff_new_pack.yJiGWO/_new 2019-04-30 12:57:31.490168588 +0200
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-parent
#
-# Copyright (c) 2018 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
@@ -24,16 +24,21 @@
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}/
+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: apache-parent
BuildRequires: javapackages-local
-Requires: apache-parent
-Requires: java >= 1.6
-Provides: jakarta-%{short_name} = %{version}-%{release}
-Obsoletes: jakarta-%{short_name} < %{version}-%{release}
-Provides: %{short_name} = %{version}-%{release}
-Obsoletes: %{short_name} < %{version}-%{release}
+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
@@ -51,34 +56,23 @@
%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

+%build
+
%install
# pom
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
-%add_maven_depmap %{name}-%{version}.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
+%files -f .mfiles
%doc RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt
-%{_mavenpomdir}/*
-%if %{defined _maven_repository}
-%{_mavendepmapfragdir}/%{name}
-%else
-%{_datadir}/maven-metadata/%{name}.xml*
-%endif

%changelog


< Previous Next >
This Thread
  • No further messages