21 |
Summary: Perl-compatible regular expression library |
Summary: Perl-compatible regular expression library |
22 |
Name: pcre |
Name: pcre |
23 |
Version: 8.36 |
Version: 8.36 |
24 |
Release: %mkrel 2 |
Release: %mkrel 3 |
25 |
License: BSD-Style |
License: BSD-Style |
26 |
Group: File tools |
Group: File tools |
27 |
URL: http://www.pcre.org/ |
URL: http://www.pcre.org/ |
31 |
BuildRequires: automake |
BuildRequires: automake |
32 |
Patch0: pcre-0.6.5-fix-detect-into-kdelibs.patch |
Patch0: pcre-0.6.5-fix-detect-into-kdelibs.patch |
33 |
Patch1: pcre-8.33-linkage-fix.patch |
Patch1: pcre-8.33-linkage-fix.patch |
34 |
|
Patch2: pcre-8.36-CVE-2014-8964.patch |
35 |
# from debian: |
# from debian: |
36 |
Patch4: pcre-pcreposix-glibc-conflict.patch |
Patch4: pcre-pcreposix-glibc-conflict.patch |
37 |
|
|
147 |
%setup -q |
%setup -q |
148 |
%patch0 -p1 -b .detect-into-kdelibs |
%patch0 -p1 -b .detect-into-kdelibs |
149 |
%patch1 -p1 -b .linkage-fix |
%patch1 -p1 -b .linkage-fix |
150 |
|
%patch2 -p1 -b .CVE-2014-8964 |
151 |
|
|
152 |
%if %{build_pcreposix_compat} |
%if %{build_pcreposix_compat} |
153 |
# pcre-pcreposix-glibc-conflict patch below breaks compatibility, |
# pcre-pcreposix-glibc-conflict patch below breaks compatibility, |