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'