diff --git a/metis.changes b/metis.changes index b2a04af..80791e2 100644 --- a/metis.changes +++ b/metis.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 10:17:53 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Thu Jul 23 16:31:17 UTC 2020 - Egbert Eich diff --git a/metis.spec b/metis.spec index 2256998..4f8f895 100644 --- a/metis.spec +++ b/metis.spec @@ -198,10 +198,7 @@ graph files you can use to test Metis. %prep %{?with_hpc: %hpc_debug} -%setup -q -n %{pname}-%{version} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 -n %{pname}-%{version} # set width (32 or 64 bits) of the elementary data type, see Install.txt sed -i 's|#define IDXTYPEWIDTH 32|#define IDXTYPEWIDTH %{__isa_bits}|' include/metis.h