diff --git a/rtrlib.changes b/rtrlib.changes index 42913d2..8ff0f7f 100644 --- a/rtrlib.changes +++ b/rtrlib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 11:45:07 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Mon Oct 25 21:23:36 UTC 2021 - Martin Hauke diff --git a/rtrlib.spec b/rtrlib.spec index 140f7ce..f5c18b9 100644 --- a/rtrlib.spec +++ b/rtrlib.spec @@ -79,8 +79,7 @@ This is the API documentation of the RTRlib, a C implementation of the RPKI/Router Protocol client. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build CFLAGS="%{optflags} -Wno-return-type"