[perl-Test-File] Update to 1.34

Paul Howarth pghmcfc at fedoraproject.org
Tue Jul 24 12:44:16 UTC 2012


commit 2a9f629ad4bd980776af0a07d0bbb1768ac71d67
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Jul 24 13:42:34 2012 +0100

    Update to 1.34
    
    - New upstream release 1.34
      - Added dir_exists_ok and dir_contains_ok
      - Added file_contains_like and file_contains_unlike
      - Fixed a few grammatical errors in POD
      - Added some SKIP blocks to avoid test failures when running as root
      - Fixed qr//mx patterns to work with older Perls (CPAN RT#74365)
      - Fixed incorrect spelling of "privileges" in SKIP blocks (CPAN RT#74483)
      - Skip testing of symlinks on Windows (CPAN RT#57682)
      - Fixed automatically generated test name for owner_isnt (CPAN RT#37676)
      - Fixed problem in MANIFEST file (CPAN RT#37676)
      - Fixed problem in links.t (CPAN RT#76853)
    - This release by BAREFOOT -> update source URL
    - BR: perl(base), perl(Exporter) and perl(File::Spec)
    - Bump perl(Test::Manifest) version requirement to 1.21
    - Bump perl(Test::More) version requirement to 0.88
    - Drop perl(ExtUtils::MakeMaker) version requirement
    - BR: at least version 1.00 of perl(Test::Pod)
    - Drop buildreq perl(Test::Prereq) since t/prereq.t isn't in the test_manifest
    - Package LICENSE file
    - Expand %summary and %description
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot
    - Don't use macros for commands
    - Make %files list more explicit
    - Use %{_fixperms} macro rather than our own chmod incantation
    - Use DESTDIR rather than PERL_INSTALL_ROOT

 .gitignore          |    1 +
 perl-Test-File.spec |   65 +++++++++++++++++++++++++++++++++++++-------------
 sources             |    2 +-
 3 files changed, 50 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8fbe0b9..cd5a3b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Test-File-1.29.tar.gz
+/Test-File-1.34.tar.gz
diff --git a/perl-Test-File.spec b/perl-Test-File.spec
index 123ffb9..01b123e 100644
--- a/perl-Test-File.spec
+++ b/perl-Test-File.spec
@@ -1,25 +1,30 @@
+Summary:	Test file attributes through Test::Builder
 Name:		perl-Test-File
-Version:	1.29
-Release:	7%{?dist}
-Summary:	Test file attributes
+Version:	1.34
+Release:	1%{?dist}
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Test-File/
-Source0:	http://www.cpan.org/authors/id/B/BD/BDFOY/Test-File-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/B/BA/BAREFOOT/Test-File-%{version}.tar.gz
 BuildArch:	noarch
+BuildRequires:	perl(base)
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(Test::Builder) >= 0.33
 BuildRequires:	perl(Test::Builder::Tester) >= 1.04
-BuildRequires:	perl(Test::Prereq) >= 1.0
-BuildRequires:	perl(Test::Manifest) >= 1.14
-BuildRequires:	perl(Test::Pod)
+BuildRequires:	perl(Test::Manifest) >= 1.21
+BuildRequires:	perl(Test::More) >= 0.88
+BuildRequires:	perl(Test::Pod) >= 1.00
 BuildRequires:	perl(Test::Pod::Coverage)
-BuildRequires:	perl(Test::More) >= 0.65
-BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.48
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module provides a collection of test utilities for file attributes.
 
+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}
 
@@ -28,21 +33,47 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w %{buildroot}/*
+%{_fixperms} %{buildroot}
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes LICENSE README
 %{perl_vendorlib}/Test/
-%{_mandir}/man3/*.3*
+%{_mandir}/man3/Test::File.3*
 
 %changelog
+* Tue Jul 24 2012 Paul Howarth <paul at city-fan.org> - 1.34-1
+- Update to 1.34
+  - Added dir_exists_ok and dir_contains_ok
+  - Added file_contains_like and file_contains_unlike
+  - Fixed a few grammatical errors in POD
+  - Added some SKIP blocks to avoid test failures when running as root
+  - Fixed qr//mx patterns to work with older Perls (CPAN RT#74365)
+  - Fixed incorrect spelling of "privileges" in SKIP blocks (CPAN RT#74483)
+  - Skip testing of symlinks on Windows (CPAN RT#57682)
+  - Fixed automatically generated test name for owner_isnt (CPAN RT#37676)
+  - Fixed problem in MANIFEST file (CPAN RT#37676)
+  - Fixed problem in links.t (CPAN RT#76853)
+- This release by BAREFOOT -> update source URL
+- BR: perl(base), perl(Exporter) and perl(File::Spec)
+- Bump perl(Test::Manifest) version requirement to 1.21
+- Bump perl(Test::More) version requirement to 0.88
+- Drop perl(ExtUtils::MakeMaker) version requirement
+- BR: at least version 1.00 of perl(Test::Pod)
+- Drop buildreq perl(Test::Prereq) since t/prereq.t isn't in the test_manifest
+- Package LICENSE file
+- Expand %%summary and %%description
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for commands
+- Make %%files list more explicit
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.29-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
@@ -59,7 +90,7 @@ make test
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Wed Dec 22 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.29-2
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Tue Jun 29 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.29-1
 - update to 1.29
diff --git a/sources b/sources
index cb95ad4..1ceb47e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-395dd6996d63f9fcf633700186455f00  Test-File-1.29.tar.gz
+98f3cc5b53fa63beb6a4c0b311bcae3b  Test-File-1.34.tar.gz


More information about the scm-commits mailing list