From 08f9f3393f2d07a761359a70a77e275fa9e4d3c1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:08:08 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- pcre.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pcre.spec b/pcre.spec index 34127fe..30f42eb 100644 --- a/pcre.spec +++ b/pcre.spec @@ -2,7 +2,7 @@ #%%global rcversion RC1 Name: pcre Version: 8.41 -Release: %{?rcversion:0.}5%{?rcversion:.%rcversion}%{?dist} +Release: %{?rcversion:0.}5%{?rcversion:.%rcversion}%{?dist}.1 %global myversion %{version}%{?rcversion:-%rcversion} Summary: Perl-compatible regular expression library ## Source package only: @@ -183,17 +183,10 @@ ulimit -s 10240 %endif make %{?_smp_mflags} check VERBOSE=yes -%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 - -%post cpp -p /sbin/ldconfig -%postun cpp -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets utf16 +%ldconfig_scriptlets utf32 +%ldconfig_scriptlets cpp %files %{_libdir}/libpcre.so.* @@ -240,6 +233,9 @@ make %{?_smp_mflags} check VERBOSE=yes %{_mandir}/man1/pcretest.* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 8.41-5.1 +- Switch to %%ldconfig_scriptlets + * Tue Jan 30 2018 Petr Pisar - 8.41-5 - Fix out-of-bounds read for partial matching of /./ against an empty string when the newline type is CRLF (upstream bug #2226)