From 558e0ed5942b392690eb4f4e121e1f0ad77e3207 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 31 2018 16:29:00 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/pkgconf.spec b/pkgconf.spec index 19fb4af..3149c85 100644 --- a/pkgconf.spec +++ b/pkgconf.spec @@ -17,7 +17,7 @@ Name: pkgconf Version: 1.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Package compiler and linker metadata toolkit License: ISC @@ -147,9 +147,7 @@ mkdir -p %{buildroot}%{_datadir}/pkgconfig rm -rf %{buildroot}%{_datadir}/aclocal %endif -%post -n lib%{name} -p /sbin/ldconfig - -%postun -n lib%{name} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name} %files %license COPYING @@ -181,6 +179,9 @@ rm -rf %{buildroot}%{_datadir}/aclocal %endif %changelog +* Wed Jan 31 2018 Igor Gnatenko - 1.4.1-2 +- Switch to %%ldconfig_scriptlets + * Tue Jan 23 2018 Igor Gnatenko - 1.4.1-1 - Update to 1.4.1