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