Sync from SUSE:SLFO:Main java-cup revision 1fc72011c7acc1b7cf7328cc2b37608a
This commit is contained in:
parent
c908f98630
commit
dcd2a803be
@ -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>
|
Thu May 4 13:47:27 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package java-cup-bootstrap
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -29,7 +29,7 @@ Release: 0
|
|||||||
Summary: LALR Parser Generator in Java
|
Summary: LALR Parser Generator in Java
|
||||||
License: HPND
|
License: HPND
|
||||||
Group: Development/Libraries/Java
|
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
|
Source0: %{real_name}-%{git_hash}.tar.xz
|
||||||
Source1: %{real_name}-generated-files.tar.xz
|
Source1: %{real_name}-generated-files.tar.xz
|
||||||
Source100: java-cup-nogit.patch.in
|
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
|
%prep
|
||||||
%setup -q -n %{real_name}-%{git_hash}
|
%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
|
cat %{SOURCE100} | sed 's#@GIT_HASH@#%{git_hash}#g' | sed 's#@GIT_DATE@#%{git_date}#g' | patch -p1 -u -l
|
||||||
%patch0 -p1
|
%patch -P 0 -p1
|
||||||
%patch1 -p1
|
%patch -P 1 -p1
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
%setup -q -T -D -a 1 -n %{real_name}-%{git_hash}
|
%setup -q -T -D -a 1 -n %{real_name}-%{git_hash}
|
||||||
%patch2 -p1
|
%patch -P 2 -p1
|
||||||
%else
|
%else
|
||||||
%patch3 -p1
|
%patch -P 3 -p1
|
||||||
%endif
|
%endif
|
||||||
find . -name '*.jar' -print -delete
|
find . -name '*.jar' -print -delete
|
||||||
mkdir -p target/classes
|
mkdir -p target/classes
|
||||||
|
@ -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>
|
Thu May 4 13:47:27 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package java-cup
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,7 +28,7 @@ Release: 0
|
|||||||
Summary: LALR Parser Generator in Java
|
Summary: LALR Parser Generator in Java
|
||||||
License: HPND
|
License: HPND
|
||||||
Group: Development/Libraries/Java
|
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
|
Source0: %{real_name}-%{git_hash}.tar.xz
|
||||||
Source1: %{real_name}-generated-files.tar.xz
|
Source1: %{real_name}-generated-files.tar.xz
|
||||||
Source100: java-cup-nogit.patch.in
|
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
|
%prep
|
||||||
%setup -q -n %{real_name}-%{git_hash}
|
%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
|
cat %{SOURCE100} | sed 's#@GIT_HASH@#%{git_hash}#g' | sed 's#@GIT_DATE@#%{git_date}#g' | patch -p1 -u -l
|
||||||
%patch0 -p1
|
%patch -P 0 -p1
|
||||||
%patch1 -p1
|
%patch -P 1 -p1
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
%setup -q -T -D -a 1 -n %{real_name}-%{git_hash}
|
%setup -q -T -D -a 1 -n %{real_name}-%{git_hash}
|
||||||
%patch2 -p1
|
%patch -P 2 -p1
|
||||||
%else
|
%else
|
||||||
%patch3 -p1
|
%patch -P 3 -p1
|
||||||
%endif
|
%endif
|
||||||
find . -name '*.jar' -print -delete
|
find . -name '*.jar' -print -delete
|
||||||
mkdir -p target/classes
|
mkdir -p target/classes
|
||||||
|
Loading…
Reference in New Issue
Block a user