Name: perl-re-engine-PCRE Version: 0.17 Release: 33%{?dist} Summary: Perl-compatible regular expression engine License: GPL+ or Artistic URL: https://metacpan.org/release/re-engine-PCRE Source0: https://cpan.metacpan.org/authors/id/A/AV/AVAR/re-engine-PCRE-%{version}.tar.gz # Do not use global $_ in "my" (CPAN RT#108386) Patch0: re-engine-PCRE-0.17-Do-not-use-global-in-my.patch # Fix 1-basic.t for v5.29.9 Variable length lookbehind support (CPAN RT#129403) # Backported from re-engine-PCRE2 version 0.15 Patch1: re-engine-PCRE-0.17-Fix-1-basic.t-for-v5.29.9-Variable-length.patch BuildRequires: findutils BuildRequires: gcc # glibc-common for iconv BuildRequires: glibc-common BuildRequires: make BuildRequires: pcre-devel BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: # Regexp is not used BuildRequires: perl(XSLoader) # Tests: # Data::Dumper not used BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} %description This allows to replace perl's regular expression engine in a given lexical scope with PCRE regular expressions provided by pcre library. %prep %setup -q -n re-engine-PCRE-%{version} %patch0 -p1 %patch1 -p1 for F in README; do iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8" touch -r "$F" "${F}.utf8" mv "${F}.utf8" "$F" done find -type f -exec chmod -x {} + %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/re* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.17-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.17-32 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.17-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.17-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.17-29 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.17-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.17-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.17-26 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.17-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.17-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.17-23 - Perl 5.30 rebuild * Tue May 14 2019 Jitka Plesnikova - 0.17-22 - Fixed 1-basic.t for v5.29.9 Variable length lookbehind support * Sat Feb 02 2019 Fedora Release Engineering - 0.17-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.17-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.17-19 - Perl 5.28 rebuild * Wed Mar 07 2018 Petr Pisar - 0.17-18 - Modernize spec file * Fri Feb 09 2018 Fedora Release Engineering - 0.17-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.17-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.17-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.17-14 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.17-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.17-12 - Perl 5.24 rebuild * Fri Apr 29 2016 Jitka Plesnikova - 0.17-11 - Do not use global $_ in "my" (CPAN RT#108386) * Thu Feb 04 2016 Fedora Release Engineering - 0.17-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.17-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.17-8 - Perl 5.22 rebuild * Tue Aug 26 2014 Jitka Plesnikova - 0.17-7 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.17-3 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jan 15 2013 Petr Pisar 0.17-1 - Specfile autogenerated by cpanspec 1.78.