From c17a300dea593bf2438ccf1c99daf1e320e7700a Mon Sep 17 00:00:00 2001 From: basebuilder_pel7x64builder0 Date: Fri, 2 Aug 2019 17:07:45 +0200 Subject: [PATCH] pcre2 ldconfig update Signed-off-by: basebuilder_pel7x64builder0 --- SPECS/pcre2.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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.*