Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package plexus-component-api for
openSUSE:Factory checked in at 2024-02-22 20:58:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plexus-component-api (Old)
and /work/SRC/openSUSE:Factory/.plexus-component-api.new.1706 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plexus-component-api"
Thu Feb 22 20:58:12 2024 rev:3 rq:1148918 version:1.0~alpha15
Changes:
--------
---
/work/SRC/openSUSE:Factory/plexus-component-api/plexus-component-api.changes
2022-03-20 20:56:45.154630401 +0100
+++
/work/SRC/openSUSE:Factory/.plexus-component-api.new.1706/plexus-component-api.changes
2024-02-22 20:59:00.212233072 +0100
@@ -1,0 +2,5 @@
+Wed Feb 21 22:19:26 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Clean the spec file and simplify it a bit
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plexus-component-api.spec ++++++
--- /var/tmp/diff_new_pack.ROIoij/_old 2024-02-22 20:59:00.640248720 +0100
+++ /var/tmp/diff_new_pack.ROIoij/_new 2024-02-22 20:59:00.640248720 +0100
@@ -1,7 +1,7 @@
#
# spec file for package plexus-component-api
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,10 +32,9 @@
Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: fdupes
-BuildRequires: java-devel >= 1.6
-BuildRequires: javapackages-local
+BuildRequires: java-devel >= 1.8
+BuildRequires: javapackages-local >= 6
BuildRequires: plexus-classworlds
-Requires: mvn(org.codehaus.plexus:plexus-classworlds)
BuildArch: noarch
%description
@@ -52,10 +51,6 @@
%setup -q -n %{name}-%{project_version}
cp %{SOURCE1} build.xml
-%pom_remove_parent
-
-%pom_xpath_inject "pom:project" "<groupId>org.codehaus.plexus</groupId>"
-
%build
mkdir -p lib
build-jar-repository -s lib plexus/classworlds
@@ -67,7 +62,7 @@
install -pm 0644 target/%{name}-%{project_version}.jar
%{buildroot}%{_javadir}/%{name}/%{name}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
-install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
+%mvn_install_pom pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}