89b7600
Name:           perl-Regexp-Assemble
981be2c
Version:        0.38
64839cc
Release:        5%{?dist}
89b7600
Summary:        Assemble multiple Regular Expressions into a single RE
89b7600
License:        GPL+ or Artistic
4bdbc22
URL:            https://metacpan.org/release/Regexp-Assemble
4bdbc22
Source0:        https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Regexp-Assemble-%{version}.tgz
89b7600
BuildArch:      noarch
919e6ac
# Module Build
6babc46
BuildRequires:  coreutils
6babc46
BuildRequires:  findutils
6babc46
BuildRequires:  make
8dda371
BuildRequires:  perl-interpreter
52b9fad
BuildRequires:  perl-generators
89b7600
BuildRequires:  perl(ExtUtils::MakeMaker)
919e6ac
# Module Runtime
919e6ac
BuildRequires:  perl(Carp)
919e6ac
BuildRequires:  perl(constant)
919e6ac
BuildRequires:  perl(overload)
919e6ac
BuildRequires:  perl(re)
919e6ac
BuildRequires:  perl(Storable)
919e6ac
BuildRequires:  perl(strict)
919e6ac
BuildRequires:  perl(Time::HiRes)
919e6ac
BuildRequires:  perl(vars)
6babc46
BuildRequires:  perl(warnings)
919e6ac
# Test Suite
919e6ac
BuildRequires:  perl(Test::More)
919e6ac
# Optional Tests
89b7600
BuildRequires:  perl(Test::File::Contents)
89b7600
BuildRequires:  perl(Test::Warn)
919e6ac
# Runtime
919e6ac
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
6babc46
Requires:       perl(Carp)
919e6ac
Requires:       perl(Storable)
919e6ac
Requires:       perl(Time::HiRes)
89b7600
89b7600
%description
89b7600
Regexp::Assemble takes an arbitrary number of regular expressions and
89b7600
assembles them into a single regular expression (or RE) that matches all
89b7600
that the individual REs match.
89b7600
89b7600
%prep
89b7600
%setup -q -n Regexp-Assemble-%{version}
89b7600
919e6ac
# Tidy up the examples (note that eg/file.3 is required to have DOS line endings)
6babc46
find examples/ -type f | xargs chmod -c -x
6babc46
find examples/ -type f | xargs perl -pi -e 's|^#!\s*/usr/local/bin/perl\S*|%{__perl}|'
89b7600
919e6ac
%build
919e6ac
perl Makefile.PL INSTALLDIRS=vendor
919e6ac
make %{?_smp_mflags}
89b7600
919e6ac
%install
919e6ac
make pure_install DESTDIR=%{buildroot}
d17e6cc
find %{buildroot} -type f -name .packlist -delete
919e6ac
%{_fixperms} %{buildroot}
89b7600
89b7600
%check
89b7600
make test
89b7600
89b7600
%files
d17e6cc
%if 0%{?_licensedir:1}
981be2c
%license LICENSE
d17e6cc
%else
981be2c
%doc LICENSE
d17e6cc
%endif
d17e6cc
%doc Changes examples/ README TODO
919e6ac
%{perl_vendorlib}/Regexp/
919e6ac
%{_mandir}/man3/Regexp::Assemble.3*
89b7600
89b7600
%changelog
64839cc
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-5
64839cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
64839cc
12d87ae
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-4
12d87ae
- Perl 5.28 rebuild
12d87ae
e518b91
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-3
e518b91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e518b91
d1b79ba
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-2
d1b79ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d1b79ba
981be2c
* Wed Jun 21 2017 Paul Howarth <paul@city-fan.org> - 0.38-1
981be2c
- Update to 0.38
981be2c
  - Fix test prereqs; pod tests moved to xt/ (CPAN RT#122136, CPAN RT#122137)
981be2c
  - Adopt new repo structure:
981be2c
    - Delete MANIFEST and META.yml, and hereafter auto-generate them
981be2c
    - Modernize .gitignore and MANIFEST.SKIP
981be2c
    - The code says Perl licence but the LICENCE file says Artistic, so replace
981be2c
      LICENCE file with LICENSE (so spelled), which says Perl
981be2c
- Drop EL-5 support
981be2c
  - Drop BuildRoot: and Group: tags
981be2c
  - Drop explicit buildroot cleaning in %%install section
981be2c
  - Drop explicit %%clean section
981be2c
735b9eb
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-4
735b9eb
- Perl 5.26 rebuild
735b9eb
bb24018
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-3
bb24018
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bb24018
f4e392e
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-2
f4e392e
- Perl 5.24 rebuild
f4e392e
d17e6cc
* Mon Apr 18 2016 Paul Howarth <paul@city-fan.org> - 0.37-1
d17e6cc
- Update to 0.37
d17e6cc
  - No code changes
d17e6cc
  - Add a LICENCE; this activity is part of the CPAN PR Challenge 2016
d17e6cc
  - Update MANIFEST to include LICENCE file
d17e6cc
  - Remove unicode characters from Changes and Changelog.ini files
d17e6cc
  - Add TODO and update MANIFEST to note unicode issues
d17e6cc
  - Add .gitignore to MANIFEST.SKIP
d17e6cc
- Simplify find command using -delete
d17e6cc
- Drop character coding patch, no longer needed
d17e6cc
41e689c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.36-2
41e689c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
41e689c
6babc46
* Mon Aug 17 2015 Paul Howarth <paul@city-fan.org> - 0.36-1
6babc46
- Update to 0.36
6babc46
  - Ron Savage is now co-maintainer
6babc46
  - Move eg/ to examples/
6babc46
  - Add examples/failure.01.pl from CPAN RT#104897
6babc46
  - Move pod tests into xt/author/pod.t by cutting them out of t/00_basic.t
6babc46
    (CPAN RT#85686, CPAN RT#85209)
6babc46
  - Add repository https://github.com/ronsavage/Regexp-Assemble.git
6babc46
  - Fix some spelling errors in the pod (CPAN RT#84336)
6babc46
  - Move Assemble.pm into lib/Regexp/
6babc46
  - Move the contents of the TODO file into the docs, and delete that file
6babc46
  - Rearrange pod, but not by running this module over it :-)
6babc46
  - Update Makefile.PL
6babc46
  - Add Changelog.ini
6babc46
  - Update MANIFEST.SKIP
6babc46
- This release by RSAVAGE → update source URL
6babc46
- Update character coding patch
6babc46
6b7f934
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-13
6b7f934
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6b7f934
824c9a0
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-12
824c9a0
- Perl 5.22 rebuild
824c9a0
919e6ac
* Thu Nov 27 2014 Paul Howarth <paul@city-fan.org> - 0.35-11
919e6ac
- Add patch to fix POD errors (CPAN RT#85686)
919e6ac
- Classify buildreqs by usage
919e6ac
- General clean-up
919e6ac
d7b19b7
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-10
d7b19b7
- Perl 5.20 rebuild
d7b19b7
c0185df
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-9
c0185df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c0185df
dd7bb62
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8
dd7bb62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
dd7bb62
418113a
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.35-7
418113a
- Perl 5.18 rebuild
418113a
7fc2736
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-6
7fc2736
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7fc2736
463c9b8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-5
463c9b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
463c9b8
fdff96b
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.35-4
fdff96b
- Perl 5.16 rebuild
fdff96b
afae7c7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-3
afae7c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
afae7c7
Petr Sabata a9bf638
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.35-2
Petr Sabata a9bf638
- Perl mass rebuild
Petr Sabata a9bf638
2040875
* Sat Apr 09 2011 Iain Arnell <iarnell@gmail.com> 0.35-1
2040875
- update to latest upstream version
2040875
101a46a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-7
101a46a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
101a46a
9b39116
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.34-6
9b39116
- 661697 rebuild for fixing problems with vendorach/lib
9b39116
12a060e
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.34-5
12a060e
- Mass rebuild with perl-5.12.0
12a060e
cf7f873
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.34-4
cf7f873
- rebuild against perl 5.10.1
cf7f873
b15275e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
b15275e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b15275e
4d74067
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
4d74067
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4d74067
89b7600
* Tue Nov 18 2008 Iain Arnell <iarnell@gmail.com> 0.34-1
89b7600
- Specfile autogenerated by cpanspec 1.77.