Conditionalize %ldconfig_scriptlets for plain RHEL
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
7d109bba70
commit
79c9bf8596
@ -208,7 +208,12 @@ Python 3 version.
|
|||||||
%check
|
%check
|
||||||
%ninja_test -C "%{_vpath_builddir}"
|
%ninja_test -C "%{_vpath_builddir}"
|
||||||
|
|
||||||
|
%if %{undefined ldconfig_scriptlets}
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
%else
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
|
Loading…
Reference in New Issue
Block a user