|
@@ -1,8 +1,8 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
Name: pcre
|
|
|
-Version: 8.39
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 8.43
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Summary: Perl-compatible regular expression library
|
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
|
|
|
@@ -15,6 +15,14 @@ Source0: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version
|
|
|
Patch0: pcre-8.21-multilib.patch
|
|
|
# Refused by upstream, bug #675477
|
|
|
Patch1: pcre-8.32-refused_spelling_terminated.patch
|
|
|
+# Fix recursion stack estimator, upstream bug #2173, refused by upstream
|
|
|
+Patch2: pcre-8.41-fix_stack_estimator.patch
|
|
|
+# Link applications to PCRE-specific symbols when using POSIX API, bug #1667614,
|
|
|
+
|
|
|
+# upstream bug 1830, partially borrowed from PCRE2, proposed to upstream,
|
|
|
+# This amends ABI, application built with this patch cannot run with
|
|
|
+# previous libpcreposix builds.
|
|
|
+Patch3: pcre-8.42-Declare-POSIX-regex-function-names-as-macros-to-PCRE.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: zlib-devel
|
|
@@ -75,6 +83,8 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
|
# Get rid of rpath
|
|
|
%patch0 -p1 -b .multilib
|
|
|
%patch1 -p1 -b .terminated_typos
|
|
|
+%patch2 -p2
|
|
|
+%patch3 -p1
|
|
|
# Because of rpath patch
|
|
|
libtoolize --copy --force && autoreconf -vif
|
|
|
# One contributor's name is non-UTF-8
|
|
@@ -127,7 +137,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc AUTHORS COPYING ChangeLog LICENCE NEWS README
|
|
|
+%license COPYING
|
|
|
+%doc AUTHORS ChangeLog LICENCE NEWS README
|
|
|
%{_bindir}/pcregrep
|
|
|
%{_libdir}/*.so.*
|
|
|
%{_mandir}/man1/pcregrep.*
|
|
@@ -156,6 +167,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.43-1
|
|
|
+- new upstream release.
|
|
|
+- imported Patch2 and 3 from rawhide.
|
|
|
+
|
|
|
* Fri Jul 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.39-2
|
|
|
- create comapt32 packages
|
|
|
|