diff --git a/patch.changes b/patch.changes index 059f82b..6b4d224 100644 --- a/patch.changes +++ b/patch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 14:53:57 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Tue May 24 14:16:43 UTC 2022 - Stephan Kulow diff --git a/patch.spec b/patch.spec index 4de0f95..87145fb 100644 --- a/patch.spec +++ b/patch.spec @@ -53,20 +53,7 @@ The GNU patch program is used to apply diffs between original and changed files (generated by the diff command) to the original files. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 +%autosetup -p1 %build export CFLAGS="%{optflags} -Wall -O2 -pipe"