ldconfig: ensure spec compatibility with EPEL
This commit is contained in:
parent
b6b808de3a
commit
211f48ee06
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user