diff --git a/metis.changes b/metis.changes index b2a04af..3ab0e72 100644 --- a/metis.changes +++ b/metis.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Apr 3 07:48:00 UTC 2024 - Bernhard Wiedemann + +- Cleanup after tests + +------------------------------------------------------------------- +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..9ee7629 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 @@ -272,6 +269,8 @@ LD_LIBRARY_PATH=%{buildroot}%{p_libdir}:$LD_LIBRARY_PATH %{buildroot}%{p_bindir} LD_LIBRARY_PATH=%{buildroot}%{p_libdir}:$LD_LIBRARY_PATH %{buildroot}%{p_bindir}/gpmetis copter2.graph 4 LD_LIBRARY_PATH=%{buildroot}%{p_libdir}:$LD_LIBRARY_PATH %{buildroot}%{p_bindir}/graphchk 4elt.graph popd +cd graphs # cleanup after tests: +rm test.mgraph.part.4 metis.mesh.epart.2 metis.mesh.npart.2 copter2.graph.part.4 mdual.graph.iperm %if %{without hpc} %post -n %libname -p /sbin/ldconfig