|
|
@ -1,87 +1,93 @@
|
|
|
|
Name: perl-Regexp-Common
|
|
|
|
Name: perl-Regexp-Common
|
|
|
|
Version: 2017060201
|
|
|
|
Version: 2017060201
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 21%{?dist}
|
|
|
|
Summary: Provide commonly requested regular expressions
|
|
|
|
Summary: Regexp::Common Perl module
|
|
|
|
# Old Artistic 1.0 is also valid, but we won't list it here since it is non-free.
|
|
|
|
# Old Artistic 1.0 is also valid, but we won't list it here since it is non-free.
|
|
|
|
# Also, it would throw off the automated license check and flag this package.
|
|
|
|
# Also, it would throw off the automated license check and flag this package.
|
|
|
|
License: Artistic 2.0 or MIT or BSD
|
|
|
|
License: Artistic-2.0 OR MIT OR BSD-3-Clause
|
|
|
|
URL: https://metacpan.org/release/Regexp-Common
|
|
|
|
URL: https://metacpan.org/release/Regexp-Common
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Regexp/Regexp-Common-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-%{version}.tar.gz
|
|
|
|
Patch0: Regexp-Common-2013030901-pod.patch
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Module Build
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(charnames)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# for improved tests
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Test Suite
|
|
|
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
# Optional Tests
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Regexp)
|
|
|
|
BuildRequires: perl(Test::Regexp)
|
|
|
|
# Dependencies
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
By default, this module exports a single hash (`%%RE') that stores or generates
|
|
|
|
Regexp::Common - Provide commonly requested regular expressions
|
|
|
|
commonly needed regular expressions. Patterns currently provided include:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* balanced parentheses and brackets
|
|
|
|
|
|
|
|
* delimited text (with escapes)
|
|
|
|
|
|
|
|
* integers and floating-point numbers in any base (up to 36)
|
|
|
|
|
|
|
|
* comments in 44 languages
|
|
|
|
|
|
|
|
* offensive language
|
|
|
|
|
|
|
|
* lists of any pattern
|
|
|
|
|
|
|
|
* IPv4 addresses
|
|
|
|
|
|
|
|
* URIs
|
|
|
|
|
|
|
|
* Zip codes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Regexp-Common-%{version}
|
|
|
|
%setup -q -n Regexp-Common-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Fix POD so we get properly-coded manpage
|
|
|
|
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_build}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYRIGHT*
|
|
|
|
%doc TODO README
|
|
|
|
%doc TODO README Changes
|
|
|
|
%{perl_vendorlib}/Regexp
|
|
|
|
%{perl_vendorlib}/Regexp/
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/Regexp::Common*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sun Sep 22 2019 Paul Howarth <paul@city-fan.org> - 2017060201-11
|
|
|
|
* Wed Sep 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 2017060201-21
|
|
|
|
- Tidy up for EPEL-8 build
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
- Specify all build dependencies
|
|
|
|
|
|
|
|
- Expand %%description
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-21
|
|
|
|
- Add patch to fix POD so we get properly-coded manpage
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
- Modernize spec using %%{make_build} and %%{make_install}
|
|
|
|
|
|
|
|
- Make %%files list more explicit
|
|
|
|
* Wed Nov 30 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 2017060201-20
|
|
|
|
- Use author-independent source URL
|
|
|
|
- Modernize spec.
|
|
|
|
|
|
|
|
- Convert license to SPDX.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-19
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2017060201-18
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-17
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-16
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2017060201-15
|
|
|
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2017060201-12
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-10
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2017060201-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|