Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package isorelax for openSUSE:Factory checked in at 2024-02-22 20:55:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/isorelax (Old) and /work/SRC/openSUSE:Factory/.isorelax.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "isorelax" Thu Feb 22 20:55:31 2024 rev:20 rq:1148478 version:0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/isorelax/isorelax.changes 2022-03-28 16:59:55.060916922 +0200 +++ /work/SRC/openSUSE:Factory/.isorelax.new.1706/isorelax.changes 2024-02-22 20:55:38.176866098 +0100 @@ -1,0 +2,5 @@ +Wed Feb 21 09:25:36 UTC 2024 - Fridrich Strba <fst...@suse.com> + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ isorelax.spec ++++++ --- /var/tmp/diff_new_pack.ktZDSx/_old 2024-02-22 20:55:39.120900504 +0100 +++ /var/tmp/diff_new_pack.ktZDSx/_new 2024-02-22 20:55:39.124900650 +0100 @@ -1,7 +1,7 @@ # # spec file for package isorelax # -# 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 @@ -23,12 +23,12 @@ Summary: Public interfaces useful for applications to support RELAX Core License: Apache-2.0 AND MIT Group: Development/Libraries/Java -URL: http://iso-relax.sourceforge.net/ +URL: https://iso-relax.sourceforge.net/ Source0: %{name}.%{cvsversion}.zip Source1: %{name}-build.xml Source2: isorelax-maven-project.xml Source3: isorelax-maven-project.xsd -Source4: http://repo2.maven.org/maven2/%{name}/%{name}/20030108/%{name}-20030108.pom +Source4: https://repo1.maven.org/maven2/%{name}/%{name}/20030108/%{name}-20030108.pom Patch0: isorelax-java5-compatibility.patch BuildRequires: ant BuildRequires: java-devel @@ -61,7 +61,7 @@ chmod -R go=u-w * find . -name "*.jar" -exec rm -f {} \; rm -rf src/jp/gr/xml/relax/swift -%patch0 -b .sav0 +%patch -P 0 -b .sav0 %build export CLASSPATH=$(build-classpath \ @@ -74,20 +74,12 @@ %install # jars install -d -m 755 %{buildroot}%{_javadir} -install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar -(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}.jar # pom install -d -m 755 %{buildroot}%{_mavenpomdir} -install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom -%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar +%{mvn_install_pom} %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -%files +%files -f .mfiles %license COPYING.txt -%{_javadir}/* -%{_mavenpomdir}/* -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name} -%else -%{_datadir}/maven-metadata/%{name}.xml* -%endif