From 35c741115ca34fd0c5bd13f9a0f4169df9c153612772164386024cd0263dca7b Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:47:01 +0000 Subject: [PATCH] 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