ldconfig: ensure spec compatibility with EPEL

This commit is contained in:
Tomas Krizek 2019-01-23 13:59:04 +01:00
parent b6b808de3a
commit 211f48ee06
No known key found for this signature in database
GPG Key ID: 1859C8263905566C

View File

@ -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