From 35c741115ca34fd0c5bd13f9a0f4169df9c153612772164386024cd0263dca7b Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:47:01 +0000 Subject: [PATCH 1/2] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/jflex?expand=0&rev=44 --- jflex-bootstrap.spec | 4 ++-- jflex.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jflex-bootstrap.spec b/jflex-bootstrap.spec index 3e59cd7..85c8c38 100644 --- a/jflex-bootstrap.spec +++ b/jflex-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package jflex-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 @@ -98,7 +98,7 @@ rm -rf src/generated %setup -q -T -D -a 1 -n jflex-%{version} cp %{SOURCE2} build.xml mkdir -p lib -%patch0 -p1 +%patch -P 0 -p1 build-jar-repository -s lib java-cup-runtime glassfish-annotation-api %else %{mvn_file} : %{name} JFlex diff --git a/jflex.spec b/jflex.spec index 9074fa2..bd71432 100644 --- a/jflex.spec +++ b/jflex.spec @@ -1,7 +1,7 @@ # # spec file for package jflex # -# 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 @@ -97,7 +97,7 @@ rm -rf src/generated %setup -q -T -D -a 1 -n jflex-%{version} cp %{SOURCE2} build.xml mkdir -p lib -%patch0 -p1 +%patch -P 0 -p1 build-jar-repository -s lib java-cup-runtime glassfish-annotation-api %else %{mvn_file} : %{name} JFlex From 0ff4f5144e5d7792eb8d9824f31337e5b812c04cf020c08b2ff671c24134dce5 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 22:07:08 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jflex?expand=0&rev=45 --- jflex-bootstrap.changes | 5 +++++ jflex.changes | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/jflex-bootstrap.changes b/jflex-bootstrap.changes index 5c39786..b7a2c2b 100644 --- a/jflex-bootstrap.changes +++ b/jflex-bootstrap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 22:06:45 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Oct 25 18:27:04 UTC 2023 - Fridrich Strba diff --git a/jflex.changes b/jflex.changes index 5c39786..b7a2c2b 100644 --- a/jflex.changes +++ b/jflex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 22:06:45 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Oct 25 18:27:04 UTC 2023 - Fridrich Strba