|
|
|
@ -8,8 +8,8 @@
|
|
|
|
|
# This is stable release:
|
|
|
|
|
#%%global rcversion RC1
|
|
|
|
|
Name: pcre2
|
|
|
|
|
Version: 10.40
|
|
|
|
|
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}
|
|
|
|
|
Version: 10.44
|
|
|
|
|
Release: %{?rcversion:0.}1%{?rcversion:.%rcversion}%{?dist}.3
|
|
|
|
|
%global myversion %{version}%{?rcversion:-%rcversion}
|
|
|
|
|
Summary: Perl-compatible regular expression library
|
|
|
|
|
# the library: BSD with exceptions
|
|
|
|
@ -44,13 +44,16 @@ Summary: Perl-compatible regular expression library
|
|
|
|
|
# missing: GPLv2+ with exception
|
|
|
|
|
# test-driver: GPLv2+ with exception
|
|
|
|
|
# testdata: Public Domain
|
|
|
|
|
License: BSD
|
|
|
|
|
License: BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
|
|
|
|
|
URL: https://www.pcre.org/
|
|
|
|
|
Source0: https://ftp.pcre.org/pub/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2
|
|
|
|
|
Source1: https://ftp.pcre.org/pub/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2.sig
|
|
|
|
|
Source0: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%{version}/pcre2-%{version}.tar.bz2
|
|
|
|
|
Source1: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%{version}/pcre2-%{version}.tar.bz2.sig
|
|
|
|
|
Source2: https://ftp.pcre.org/pub/pcre/Public-Key
|
|
|
|
|
# Do no set RPATH if libdir is not /usr/lib
|
|
|
|
|
Patch0: pcre2-10.10-Fix-multilib.patch
|
|
|
|
|
# Upstream commit: https://github.com/PCRE2Project/pcre2/commit/57906628d7babd27c01eb1c085d3e0cdd512189a
|
|
|
|
|
# Fixes the failing tests on 32-bit arch (i686)
|
|
|
|
|
Patch1: pcre2-10.44-pcre2test-memory-reports-only-compiled-memory-usage.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
@ -132,13 +135,12 @@ expressions implemented by the PCRE2 library.
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Auxiliary utilities for %{name}
|
|
|
|
|
# pcre2test (linked to GNU readline): BSD (linked to GPLv3+)
|
|
|
|
|
License: BSD and GPLv3+
|
|
|
|
|
# pcre2test: BSD
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-utf32 = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-utf16 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
Utilities demonstrating PCRE2 capabilities like pcre2grep or pcre2test.
|
|
|
|
|
|
|
|
|
@ -155,7 +157,7 @@ autoreconf -vif
|
|
|
|
|
%global optflags %{optflags} -fno-strict-aliasing
|
|
|
|
|
%endif
|
|
|
|
|
%configure \
|
|
|
|
|
%ifarch s390 sparc64 sparcv9 riscv64
|
|
|
|
|
%ifarch s390 sparc64 sparcv9
|
|
|
|
|
--disable-jit \
|
|
|
|
|
--disable-pcre2grep-jit \
|
|
|
|
|
%else
|
|
|
|
@ -258,31 +260,82 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|
|
|
|
%{_mandir}/man1/pcre2test.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.40-2
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 10.44-1.3
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2024 Lukas Javorsky <ljavorsk@redhat.com> - 10.44-1.2
|
|
|
|
|
- Another rebuild for gating
|
|
|
|
|
|
|
|
|
|
* Mon Jul 22 2024 Lukas Javorsky <ljavorsk@redhat.com> - 10.44-1.1
|
|
|
|
|
- Rebuild for fixed gating and fmf tests
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Lukas Javorsky <ljavorsk@redhat.com> - 10.44-1
|
|
|
|
|
- Rebase to version 10.44
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 10.42-3.3
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 15 2024 Lukas Javorsky <ljavorsk@redhat.com> - 10.42-3.2
|
|
|
|
|
- Explicitly require uft subpackages in tools subpackage
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.40-1
|
|
|
|
|
* Wed May 15 2024 Lukas Javorsky <ljavorsk@redhat.com> - 10.42-3.1
|
|
|
|
|
- Rebuilt for missing gating.yaml
|
|
|
|
|
|
|
|
|
|
* Tue May 14 2024 Lukas Javorsky <ljavorsk@redhat.com> - 10.42-3
|
|
|
|
|
- Migrate licenses to SPDX format and add the forgotten
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 10.42-2.2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 10.42-2.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Nov 10 2023 Lukas Javorsky <ljavorsk@redhat.com> - 10.42-2
|
|
|
|
|
- Fix an issue with restoring originally unset entries in recursion
|
|
|
|
|
- Resolves: BZ#2248133
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 10.42-1.2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 10.42-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 25 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.40-1
|
|
|
|
|
- Rebase to the 10.40
|
|
|
|
|
- Resolves multiple Out-of-bounds read errors
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.39-1
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.39-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 01 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.39-1
|
|
|
|
|
- Rebase to the 10.39
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Lukas Javorsky <ljavorsk@redhat.com> - 10.38-1
|
|
|
|
|
* Mon Oct 04 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.38-1
|
|
|
|
|
- Rebase to the 10.38
|
|
|
|
|
- Patch 1 upstreamed
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 10.37-3.1
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Aug 04 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-3
|
|
|
|
|
- Revert commit 244afd92965bc8df652c2c1711641649b5884fdc.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-2
|
|
|
|
|
* Tue Jul 27 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-4
|
|
|
|
|
- Fix invalid single character repetition in JIT
|
|
|
|
|
- Resolves: BZ#1985484
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.37-3.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 15 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-3
|
|
|
|
|
- Revert of copying the old posix library - After rebuilding all
|
|
|
|
|
- dependend packages we don't need to backport the old library
|
|
|
|
|
|
|
|
|
|
* Wed Jul 14 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-2
|
|
|
|
|
- Release bump
|
|
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-1
|
|
|
|
|
- Rebase to the 10.37
|
|
|
|
|
- libpcre2-posix.so.2* SONAME bump to libpcre2-posix.so.3*
|
|
|
|
@ -290,9 +343,6 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|
|
|
|
- Patches upstreamed: Patch 1,2,3,4
|
|
|
|
|
- Resolves: rhbz#1970765, BZ#1965025
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 10.36-4.1
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Fri Feb 19 2021 Petr Pisar <ppisar@redhat.com> - 10.36-4
|
|
|
|
|
- Fix a mismatch if \K was involved in a recursion
|
|
|
|
|
- Restore single character repetition optimization in JIT (upstream bug #2698)
|
|
|
|
|