Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package joda-time for openSUSE:Factory checked in at 2024-02-21 18:01:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/joda-time (Old) and /work/SRC/openSUSE:Factory/.joda-time.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "joda-time" Wed Feb 21 18:01:26 2024 rev:16 rq:1148721 version:2.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/joda-time/joda-time.changes 2022-03-22 21:36:49.468991081 +0100 +++ /work/SRC/openSUSE:Factory/.joda-time.new.1706/joda-time.changes 2024-02-21 18:01:35.858549546 +0100 @@ -1,0 +2,5 @@ +Wed Feb 21 13:51:02 UTC 2024 - Fridrich Strba <[email protected]> + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ joda-time.spec ++++++ --- /var/tmp/diff_new_pack.obbYJR/_old 2024-02-21 18:01:36.798583600 +0100 +++ /var/tmp/diff_new_pack.obbYJR/_new 2024-02-21 18:01:36.798583600 +0100 @@ -1,7 +1,7 @@ # # spec file for package joda-time # -# 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 @@ -31,7 +31,7 @@ BuildRequires: ant BuildRequires: dos2unix BuildRequires: fdupes -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildRequires: joda-convert BuildArch: noarch @@ -54,7 +54,7 @@ %prep %setup -q -%patch0 -p1 +%patch -P 0 -p1 dos2unix LICENSE.txt NOTICE.txt RELEASE-NOTES.txt cp %{SOURCE100} build.xml @@ -65,12 +65,6 @@ rm -f src/main/java/org/joda/time/tz/src/* tar -xzf %{SOURCE1} -C src/main/java/org/joda/time/tz/src/ -%pom_remove_plugin :maven-enforcer-plugin - -%pom_xpath_set pom:project/pom:properties/pom:maven.compiler.source "1.6" -%pom_xpath_set pom:project/pom:properties/pom:maven.compiler.target "1.6" -%pom_xpath_set pom:project/pom:properties/pom:maven.compiler.compilerVersion "1.6" - %build %{ant} \ -Djoda-convert.jar=%{_javadir}/joda-convert.jar \ @@ -84,7 +78,7 @@ install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar # poms install -d -m 755 %{buildroot}%{_mavenpomdir} -install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom %add_maven_depmap %{name}.pom %{name}.jar # javadoc install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
