From b70c7bc6cf21e9cd5e9e11340c90749787734953 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:37 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- cfitsio.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cfitsio.spec b/cfitsio.spec index 2f8da30..83aedb1 100644 --- a/cfitsio.spec +++ b/cfitsio.spec @@ -17,8 +17,6 @@ Patch3: cfitsio-ldflags.patch BuildRequires: gcc-gfortran zlib-devel BuildRequires: bzip2-devel -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig %description CFITSIO is a library of C and FORTRAN subroutines for reading and writing @@ -118,9 +116,7 @@ chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.* chmod 755 %{buildroot}%{_bindir}/f{,un}pack -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc README License.txt docs/changes.txt