Compare commits

1 Commits
main ... 1.1

2 changed files with 4 additions and 14 deletions

View File

@@ -1,14 +1,3 @@
-------------------------------------------------------------------
Wed Apr 3 07:48:00 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- 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 <eich@suse.com>

View File

@@ -198,7 +198,10 @@ graph files you can use to test Metis.
%prep
%{?with_hpc: %hpc_debug}
%autosetup -p1 -n %{pname}-%{version}
%setup -q -n %{pname}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
# 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
@@ -269,8 +272,6 @@ 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