Renew SPEC file

This commit is contained in:
Antonio Trande 2023-07-16 12:02:20 +02:00
parent ea66ee00e5
commit b878ac705d

View File

@ -8,7 +8,7 @@
Name: metis
Version: 5.1.0
Release: 34%{?dist}
Release: 35%{?dist}
Summary: Serial Graph Partitioning and Fill-reducing Matrix Ordering
License: ASL 2.0 and BSD and LGPLv2+
URL: http://glaros.dtc.umn.edu/gkhome/views/%{name}
@ -37,7 +37,7 @@ Patch4: %{name}_lib64.patch
Patch5: %{name}-pcre2.patch
BuildRequires: make
BuildRequires: cmake3, gcc, gcc-c++
BuildRequires: cmake, gcc, gcc-c++
%if 0%{?rhel} && 0%{?rhel} < 9
BuildRequires: pcre-devel
%else
@ -88,10 +88,10 @@ OpenMP version (64bit INTEGER).
%setup -qc
pushd %{name}-%{version}
%patch0 -p0
%patch1 -p0
%patch3 -p0
%patch5 -p0
%patch -P 0 -p0
%patch -P 1 -p0
%patch -P 3 -p0
%patch -P 5 -p0
## Remove default compiler flag
sed -e 's|-O3||g' -i GKlib/GKlibSystem.cmake
@ -107,7 +107,7 @@ PCRE_LDFLAGS="-lpcreposix"
%else
PCRE_LDFLAGS="-lpcre2-posix"
%endif
%cmake3 -S %{name}-%{version} -B %{name}-%{version}/build \
%cmake -S %{name}-%{version} -B %{name}-%{version}/build \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DGKLIB_PATH=%{name}-%{version}/GKlib \
-DSHARED:BOOL=TRUE \
@ -131,7 +131,7 @@ PCRE_LDFLAGS="-lpcreposix"
%else
PCRE_LDFLAGS="-lpcre2-posix"
%endif
%cmake3 -S metis64 -B metis64/build64 \
%cmake -S metis64 -B metis64/build64 \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DGKLIB_PATH=metis64/GKlib \
-DSHARED:BOOL=TRUE \
@ -256,6 +256,9 @@ popd
%endif
%changelog
* Sun Jul 16 2023 Antonio Trande <sagitter@fedoraproject.org> - 5.1.0-35
- Renew SPEC file
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild