Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package objenesis for openSUSE:Factory 
checked in at 2024-02-22 20:57:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/objenesis (Old)
 and      /work/SRC/openSUSE:Factory/.objenesis.new.1706 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "objenesis"

Thu Feb 22 20:57:52 2024 rev:7 rq:1148880 version:3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/objenesis/objenesis.changes      2023-12-05 
17:04:50.780752833 +0100
+++ /work/SRC/openSUSE:Factory/.objenesis.new.1706/objenesis.changes    
2024-02-22 20:58:41.607552918 +0100
@@ -1,0 +2,5 @@
+Wed Feb 21 21:12:38 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Use %patch -P N instead of deprecated %patchN.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ objenesis.spec ++++++
--- /var/tmp/diff_new_pack.Ib9EFB/_old  2024-02-22 20:58:42.067569736 +0100
+++ /var/tmp/diff_new_pack.Ib9EFB/_new  2024-02-22 20:58:42.071569882 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package objenesis
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2000-2009, JPackage Project
 #
 # All modifications and additions to the file contributed by third parties
@@ -33,12 +33,12 @@
 Summary:        A library for instantiating Java objects
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://objenesis.org/
-Source0:        https://github.com/easymock/%{name}/archive/%{version}.tar.gz
+URL:            https://objenesis.org/
+Source0:        
https://github.com/easymock/%{name}/archive/refs/tags/%{version}.tar.gz
 Patch0:         objenesis-javadoc.patch
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
-BuildRequires:  javapackages-local
+BuildRequires:  javapackages-local >= 6
 BuildArch:      noarch
 
 %description
@@ -71,21 +71,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -P 0 -p1
 
 # Enable generation of pom.properties (rhbz#1017850)
 %pom_xpath_remove pom:addMavenDescriptor
 
-%pom_remove_plugin :maven-timestamp-plugin
-%pom_xpath_remove "pom:dependency[pom:scope='test']" tck
-
-%pom_xpath_remove pom:build/pom:extensions
-
-for i in main tck; do
-  %pom_remove_parent ${i}
-  %pom_xpath_inject "pom:project" 
"<groupId>org.objenesis</groupId><version>%{version}</version>" ${i}
-done
-
 %build
 mkdir -p main/build/classes
 javac -d main/build/classes -source 8 -target 8 -encoding utf-8 \
@@ -136,8 +126,8 @@
 
 # poms
 install -dm 755 %{buildroot}%{_mavenpomdir}/%{name}
-install -m 0644 main/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
-install -m 0644 tck/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-tck.pom
+%{mvn_install_pom} main/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
+%{mvn_install_pom} tck/pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}/%{name}-tck.pom
 %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
 %add_maven_depmap %{name}/%{name}-tck.pom %{name}/%{name}-tck.jar
 

Reply via email to