Update to 0.38 and drop EL-5 support

- New upstream release 0.38
  - Fix test prereqs; pod tests moved to xt/ (CPAN RT#122136, CPAN RT#122137)
  - Adopt new repo structure:
    - Delete MANIFEST and META.yml, and hereafter auto-generate them
    - Modernize .gitignore and MANIFEST.SKIP
    - The code says Perl licence but the LICENCE file says Artistic, so replace
      LICENCE file with LICENSE (so spelled), which says Perl
- Drop EL-5 support
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
epel9
Paul Howarth 8 years ago
parent 735b9ebc6f
commit 981be2cb84

1
.gitignore vendored

@ -2,3 +2,4 @@
/Regexp-Assemble-0.35.tar.gz
/Regexp-Assemble-0.36.tgz
/Regexp-Assemble-0.37.tgz
/Regexp-Assemble-0.38.tgz

@ -1,12 +1,10 @@
Name: perl-Regexp-Assemble
Version: 0.37
Release: 4%{?dist}
Version: 0.38
Release: 1%{?dist}
Summary: Assemble multiple Regular Expressions into a single RE
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Regexp-Assemble/
Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/Regexp-Assemble-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@ -29,7 +27,6 @@ BuildRequires: perl(warnings)
BuildRequires: perl(Test::More)
# Optional Tests
BuildRequires: perl(Test::File::Contents)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Warn)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -54,7 +51,6 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}
@ -62,20 +58,30 @@ find %{buildroot} -type f -name .packlist -delete
%check
make test
%clean
rm -rf %{buildroot}
%files
%if 0%{?_licensedir:1}
%license LICENCE
%license LICENSE
%else
%doc LICENCE
%doc LICENSE
%endif
%doc Changes examples/ README TODO
%{perl_vendorlib}/Regexp/
%{_mandir}/man3/Regexp::Assemble.3*
%changelog
* Wed Jun 21 2017 Paul Howarth <paul@city-fan.org> - 0.38-1
- Update to 0.38
- Fix test prereqs; pod tests moved to xt/ (CPAN RT#122136, CPAN RT#122137)
- Adopt new repo structure:
- Delete MANIFEST and META.yml, and hereafter auto-generate them
- Modernize .gitignore and MANIFEST.SKIP
- The code says Perl licence but the LICENCE file says Artistic, so replace
LICENCE file with LICENSE (so spelled), which says Perl
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-4
- Perl 5.26 rebuild

@ -1 +1 @@
2f7f232642f0f30f69983ef1316ecb42 Regexp-Assemble-0.37.tgz
SHA512 (Regexp-Assemble-0.38.tgz) = 65f4fefe2ad93bda1a9a367bfd660702ad3fbdef122d4272766afa96b863b7a85850be3261162a9362dba01af8dfc055435f6b125b3268c4f48d46cfc9664ef7

Loading…
Cancel
Save