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