Use %%ldconfig_scriptlets

This commit is contained in:
sagitter 2018-02-17 17:24:52 +01:00
parent 1a9a259db1
commit bdee549555

View File

@ -14,7 +14,7 @@
Name: metis
Version: 5.1.0
Release: 16%{?dist}
Release: 17%{?dist}
Summary: Serial Graph Partitioning and Fill-reducing Matrix Ordering
License: ASL 2.0 and BSD and LGPLv2+
Group: Development/Libraries
@ -217,12 +217,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH ./graphchk64 4elt.graph
%endif
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%if 0%{?arch64}
%post -n metis64 -p /sbin/ldconfig
%postun -n metis64 -p /sbin/ldconfig
%ldconfig_scriptlets metis64
%endif
%files
@ -261,6 +259,9 @@ popd
%endif
%changelog
* Sat Feb 17 2018 Antonio Trande <sagitter@fedoraproject.org> - 5.1.0-17
- Use %%ldconfig_scriptlets
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild