diff --git a/SPECS/pcre2.spec b/SPECS/pcre2.spec index 743aabee..73ecff1a 100644 --- a/SPECS/pcre2.spec +++ b/SPECS/pcre2.spec @@ -200,9 +200,14 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre2 %check make %{?_smp_mflags} check VERBOSE=yes -%ldconfig_scriptlets -%ldconfig_scriptlets utf16 -%ldconfig_scriptlets utf32 +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post utf16 -p /sbin/ldconfig +%postun utf16 -p /sbin/ldconfig + +%post utf32 -p /sbin/ldconfig +%postun utf32 -p /sbin/ldconfig %files %{_libdir}/libpcre2-8.so.*