diff --git a/java-cup-bootstrap.changes b/java-cup-bootstrap.changes index 9da15d7..7d6d7b4 100644 --- a/java-cup-bootstrap.changes +++ b/java-cup-bootstrap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 09:34:39 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu May 4 13:47:27 UTC 2023 - Frederic Crozat diff --git a/java-cup-bootstrap.spec b/java-cup-bootstrap.spec index b9b2d2e..0bd2d04 100644 --- a/java-cup-bootstrap.spec +++ b/java-cup-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package java-cup-bootstrap # -# Copyright (c) 2023 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 @@ -29,7 +29,7 @@ Release: 0 Summary: LALR Parser Generator in Java License: HPND Group: Development/Libraries/Java -URL: http://www2.cs.tum.edu/projects/cup/ +URL: https://www2.cs.tum.edu/projects/cup/ Source0: %{real_name}-%{git_hash}.tar.xz Source1: %{real_name}-generated-files.tar.xz Source100: java-cup-nogit.patch.in @@ -94,13 +94,13 @@ java-cup is a LALR Parser Generator in Java. With v0.11, you can: * %prep %setup -q -n %{real_name}-%{git_hash} cat %{SOURCE100} | sed 's#@GIT_HASH@#%{git_hash}#g' | sed 's#@GIT_DATE@#%{git_date}#g' | patch -p1 -u -l -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 %if %{with bootstrap} %setup -q -T -D -a 1 -n %{real_name}-%{git_hash} -%patch2 -p1 +%patch -P 2 -p1 %else -%patch3 -p1 +%patch -P 3 -p1 %endif find . -name '*.jar' -print -delete mkdir -p target/classes diff --git a/java-cup.changes b/java-cup.changes index 9da15d7..7d6d7b4 100644 --- a/java-cup.changes +++ b/java-cup.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 09:34:39 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu May 4 13:47:27 UTC 2023 - Frederic Crozat diff --git a/java-cup.spec b/java-cup.spec index 6f15651..3d8cafc 100644 --- a/java-cup.spec +++ b/java-cup.spec @@ -1,7 +1,7 @@ # # spec file for package java-cup # -# Copyright (c) 2023 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 @@ -28,7 +28,7 @@ Release: 0 Summary: LALR Parser Generator in Java License: HPND Group: Development/Libraries/Java -URL: http://www2.cs.tum.edu/projects/cup/ +URL: https://www2.cs.tum.edu/projects/cup/ Source0: %{real_name}-%{git_hash}.tar.xz Source1: %{real_name}-generated-files.tar.xz Source100: java-cup-nogit.patch.in @@ -93,13 +93,13 @@ java-cup is a LALR Parser Generator in Java. With v0.11, you can: * %prep %setup -q -n %{real_name}-%{git_hash} cat %{SOURCE100} | sed 's#@GIT_HASH@#%{git_hash}#g' | sed 's#@GIT_DATE@#%{git_date}#g' | patch -p1 -u -l -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 %if %{with bootstrap} %setup -q -T -D -a 1 -n %{real_name}-%{git_hash} -%patch2 -p1 +%patch -P 2 -p1 %else -%patch3 -p1 +%patch -P 3 -p1 %endif find . -name '*.jar' -print -delete mkdir -p target/classes