diff --git a/gnucap.changes b/gnucap.changes index ec21a82..1c699e1 100644 --- a/gnucap.changes +++ b/gnucap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 27 10:56:21 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Jun 17 06:46:39 UTC 2016 - dmitry_r@opensuse.org diff --git a/gnucap.spec b/gnucap.spec index 2b213db..37f0cee 100644 --- a/gnucap.spec +++ b/gnucap.spec @@ -71,11 +71,11 @@ driven analog simulation, and true multi-rate simulation. %setup -q # use ncurses instead of termcap sed -i 's/-ltermcap/-lncurses/g' configure -%patch1 -p1 -%patch2 -p1 -%patch3 -p0 -%patch4 -p0 -%patch5 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p0 +%patch -P 4 -p0 +%patch -P 5 -p1 rm INSTALL %build