From 211f48ee0650e1271b3e63cf39df3f718e77d34d Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Wed, 23 Jan 2019 13:59:04 +0100 Subject: [PATCH] ldconfig: ensure spec compatibility with EPEL --- fstrm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fstrm.spec b/fstrm.spec index 65c6042..16ed29f 100644 --- a/fstrm.spec +++ b/fstrm.spec @@ -61,7 +61,12 @@ cp -ar html %{buildroot}%{_pkgdocdir}/html %check make check -%ldconfig_scriptlets +%if 0%{?fedora} +# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets +%else +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig +%endif %files %doc COPYRIGHT LICENSE