Accepting request 1148485 from Java:packages

rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-cup?expand=0&rev=23
This commit is contained in:
Ana Guerrero 2024-02-22 19:55:31 +00:00 committed by Git OBS Bridge
commit f2984b0c4e
4 changed files with 22 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 09:34:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Thu May 4 13:47:27 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 09:34:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Thu May 4 13:47:27 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -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