Rebase to version 10.42

Update sources location (moved to Github)
RISC-V is now JIT enabled according to: https://github.com/PCRE2Project/pcre2/issues/14

Resolves: #2151744
This commit is contained in:
Lukas Javorsky 2023-01-13 14:34:34 +00:00
parent 64221b097e
commit 7ce0eda6d7
3 changed files with 13 additions and 7 deletions

2
.gitignore vendored
View File

@ -38,3 +38,5 @@
/pcre2-10.39.tar.bz2.sig /pcre2-10.39.tar.bz2.sig
/pcre2-10.40.tar.bz2 /pcre2-10.40.tar.bz2
/pcre2-10.40.tar.bz2.sig /pcre2-10.40.tar.bz2.sig
/pcre2-10.42.tar.bz2
/pcre2-10.42.tar.bz2.sig

View File

@ -8,8 +8,8 @@
# This is stable release: # This is stable release:
#%%global rcversion RC1 #%%global rcversion RC1
Name: pcre2 Name: pcre2
Version: 10.40 Version: 10.42
Release: %{?rcversion:0.}1%{?rcversion:.%rcversion}%{?dist}.1 Release: %{?rcversion:0.}1%{?rcversion:.%rcversion}%{?dist}
%global myversion %{version}%{?rcversion:-%rcversion} %global myversion %{version}%{?rcversion:-%rcversion}
Summary: Perl-compatible regular expression library Summary: Perl-compatible regular expression library
# the library: BSD with exceptions # the library: BSD with exceptions
@ -46,8 +46,8 @@ Summary: Perl-compatible regular expression library
# testdata: Public Domain # testdata: Public Domain
License: BSD License: BSD
URL: https://www.pcre.org/ URL: https://www.pcre.org/
Source0: https://ftp.pcre.org/pub/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2 Source0: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%{version}/pcre2-%{version}.tar.bz2
Source1: https://ftp.pcre.org/pub/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2.sig Source1: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%{version}/pcre2-%{version}.tar.bz2.sig
Source2: https://ftp.pcre.org/pub/pcre/Public-Key Source2: https://ftp.pcre.org/pub/pcre/Public-Key
# Do no set RPATH if libdir is not /usr/lib # Do no set RPATH if libdir is not /usr/lib
Patch0: pcre2-10.10-Fix-multilib.patch Patch0: pcre2-10.10-Fix-multilib.patch
@ -152,7 +152,7 @@ autoreconf -vif
%global optflags %{optflags} -fno-strict-aliasing %global optflags %{optflags} -fno-strict-aliasing
%endif %endif
%configure \ %configure \
%ifarch s390 sparc64 sparcv9 riscv64 %ifarch s390 sparc64 sparcv9
--disable-jit \ --disable-jit \
--disable-pcre2grep-jit \ --disable-pcre2grep-jit \
%else %else
@ -255,6 +255,10 @@ make %{?_smp_mflags} check VERBOSE=yes
%{_mandir}/man1/pcre2test.* %{_mandir}/man1/pcre2test.*
%changelog %changelog
* Fri Dec 16 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.42-1
- Rebase to version 10.42
- RISC-V is JIT enabled according to the https://github.com/PCRE2Project/pcre2/issues/14
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.40-1.1 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.40-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (pcre2-10.40.tar.bz2) = 00e7b48a6554b9127cb6fe24c5cacf72783416a9754ec88f62f73c52f46ed72c86c1869e62c91a31b2ff2cbafbbedabca44b3f1eb7670bc92f49d8401c7374e8 SHA512 (pcre2-10.42.tar.bz2) = 72fbde87fecec3aa4b47225dd919ea1d55e97f2cbcf02aba26e5a0d3b1ffb58c25a80a9ef069eb99f9cf4e41ba9604ad06a7ec159870e1e875d86820e12256d3
SHA512 (pcre2-10.40.tar.bz2.sig) = faa4b47fdac1543cd323651f251b8abb94b31b5966b42d445b8cbb38c441df4742e3c3517c2bc6c0a4464e9fb5feab5d5beda1250a03d56bec2d8383be2f63ab SHA512 (pcre2-10.42.tar.bz2.sig) = 22ce3c7903835b1cf835ac6cfa725badecc982f1504382e62525c88307b2e3bd8951f2221fdd3d73920843e69f714b6df99fe741069e610f1f809087512a31f7