Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package maven-shared-io for openSUSE:Factory 
checked in at 2023-09-07 21:13:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-shared-io (Old)
 and      /work/SRC/openSUSE:Factory/.maven-shared-io.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maven-shared-io"

Thu Sep  7 21:13:03 2023 rev:3 rq:1109370 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/maven-shared-io/maven-shared-io.changes  
2022-03-24 22:59:53.292359876 +0100
+++ 
/work/SRC/openSUSE:Factory/.maven-shared-io.new.1766/maven-shared-io.changes    
    2023-09-07 21:14:12.272444378 +0200
@@ -1,0 +2,5 @@
+Wed Sep  6 22:37:02 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Remove unnecessary dependency on xmvn tools and parent pom
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ maven-shared-io.spec ++++++
--- /var/tmp/diff_new_pack.Z0aYNt/_old  2023-09-07 21:14:13.368483558 +0200
+++ /var/tmp/diff_new_pack.Z0aYNt/_new  2023-09-07 21:14:13.368483558 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package maven-shared-io
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,23 +22,20 @@
 Summary:        API for I/O support like logging, download or file scanning
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://maven.apache.org/shared/maven-shared-io
-Source0:        
http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
+URL:            https://maven.apache.org/shared/maven-shared-io
+Source0:        
https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
 Source1:        %{name}-build.xml
 # Rejected upstream: https://issues.apache.org/jira/browse/MSHARED-490
 Patch0:         0001-Fix-running-tests-with-Maven-3.3.9.patch
 BuildRequires:  ant
 BuildRequires:  fdupes
-BuildRequires:  javapackages-local
+BuildRequires:  javapackages-local >= 6
 BuildRequires:  maven-lib
 BuildRequires:  maven-shared-utils
 BuildRequires:  maven-wagon-provider-api
 BuildRequires:  plexus-containers-container-default
 BuildRequires:  plexus-utils
 BuildRequires:  unzip
-BuildRequires:  xmvn-install
-BuildRequires:  xmvn-resolve
-BuildRequires:  mvn(org.apache.maven.shared:maven-shared-components:pom:)
 BuildArch:      noarch
 
 %description
@@ -75,15 +72,23 @@
   -Dtest.skip=true \
   jar javadoc
 
-%mvn_artifact pom.xml target/%{name}-%{version}.jar
-
 %install
-%mvn_install
+# jar
+install -dm 0755 %{buildroot}%{_javadir}/%{name}
+install -pm 0644 target/%{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}/%{name}.jar
+# pom
+install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
+%{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}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
 %fdupes -s %{buildroot}%{_javadocdir}
 
 %files -f .mfiles
 %license LICENSE NOTICE
 
-%files javadoc -f .mfiles-javadoc
+%files javadoc
+%{_javadocdir}/%{name}
 %license LICENSE NOTICE
 

Reply via email to