From 166fc6c840c31a91ec890b56b45f5209af60a9f8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 2 Feb 2018 10:46:27 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- hdf5.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hdf5.spec b/hdf5.spec index 2eda0e0..920cd60 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -7,7 +7,7 @@ # You need to recompile all users of HDF5 for each version change Name: hdf5 Version: 1.8.18 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A general purpose library and file format for storing scientific data License: BSD Group: System Environment/Libraries @@ -298,9 +298,7 @@ done %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -442,6 +440,9 @@ done %changelog +* Fri Feb 02 2018 Igor Gnatenko - 1.8.18-13 +- Switch to %%ldconfig_scriptlets + * Wed Jan 31 2018 Orion Poplawski - 1.8.18-12 - Rebuild for gfortran-8