Accepting request 1149789 from home:pgajdos:m

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1149789
OBS-URL: https://build.opensuse.org/package/show/science/metis?expand=0&rev=18
This commit is contained in:
Atri Bhattacharya 2024-02-23 11:36:58 +00:00 committed by Git OBS Bridge
parent 864d53c85f
commit 1001ffd73d
2 changed files with 7 additions and 4 deletions

View File

@ -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 <eich@suse.com>

View File

@ -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