From a76569e5ed254e6d2a5a0d51a5aa3b6f3aee4d59 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Fri, 14 Oct 2016 15:41:00 +0100 Subject: Update to 1.442
- New upstream release 1.442 - Fix for missing . in @INC; this relates to CVE-2016-1238 (https://github.com/briandfoy/test-file/issues/14) - Split rpm and upstream versioning - Use features from recent EUMM to simplify %%install section --- perl-Test-File.spec | 29 +++++++++++++++++++---------- sources | 2 +- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/perl-Test-File.spec b/perl-Test-File.spec index 93d2ece..a1ec78f 100644 --- a/perl-Test-File.spec +++ b/perl-Test-File.spec @@ -1,19 +1,22 @@ +# This module usually ships with version numbers having two digits after the decimal point +%global cpanversion 1.442 +%global rpmversion 1.44.2 + Summary: Test file attributes through Test::Builder Name: perl-Test-File -Version: 1.44 -Release: 3%{?dist} +Version: %{rpmversion} +Release: 1%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-File/ -Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-File-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-File-%{cpanversion}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils -BuildRequires: findutils BuildRequires: make BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.48 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::Manifest) >= 1.21 # Module Runtime BuildRequires: perl(base) @@ -43,16 +46,15 @@ Some file attributes depend on the owner of the process testing the file in the same way the file test operators do. %prep -%setup -q -n Test-File-%{version} +%setup -q -n Test-File-%{cpanversion} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make %{?_smp_mflags} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -%{_fixperms} %{buildroot} +make install DESTDIR=%{buildroot} +%{_fixperms} -c %{buildroot} %check make test @@ -64,6 +66,13 @@ make test %{_mandir}/man3/Test::File.3* %changelog +* Fri Oct 14 2016 Paul Howarth <p...@city-fan.org> - 1.44.2-1 +- Update to 1.442 + - Fix for missing . in @INC; this relates to CVE-2016-1238 + (https://github.com/briandfoy/test-file/issues/14) +- Split rpm and upstream versioning +- Use features from recent EUMM to simplify %%install section + * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 1.44-3 - Perl 5.24 rebuild diff --git a/sources b/sources index c7db3d7..80448da 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e27abfdef840e0549c6e0852ed54689f Test-File-1.44.tar.gz +cce04398b50300c92a0cf4835105cf4f Test-File-1.442.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Test-File.git/commit/?h=f25&id=a76569e5ed254e6d2a5a0d51a5aa3b6f3aee4d59 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org