From b9e5aabc625022b66c3cff18bc016d9476fa422c62434f690e98695c3ff4afa5 Mon Sep 17 00:00:00 2001 From: Raymund Will Date: Thu, 22 Feb 2024 15:09:55 +0000 Subject: [PATCH] Accepting request 1149245 from home:dimstar:rpm4.20:e Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149245 OBS-URL: https://build.opensuse.org/package/show/Base:System/elilo?expand=0&rev=24 --- elilo.changes | 6 ++++++ elilo.spec | 14 ++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/elilo.changes b/elilo.changes index 5c0777d..0b3e087 100644 --- a/elilo.changes +++ b/elilo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 11:34:21 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Tue Aug 16 14:30:43 UTC 2022 - rw@suse.com diff --git a/elilo.spec b/elilo.spec index f1d6313..fa4324a 100644 --- a/elilo.spec +++ b/elilo.spec @@ -65,18 +65,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build The EFI Linux boot loader. %prep -%setup -q -n %{name}-%{version}-source -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 +%autosetup -p1 -n %{name}-%{version}-source + # work around b0rked 'Str'-ops in newer 'gnu-efi' ... :-( find . -type f -name '*.[ch]' -print0 | xargs -0rn 1 \ perl -pi -e 's{Str(Chr|n(X?Cpy|Cat))}{eliloStr$1}g'