[perl-YAML-Tiny] Update to 1.66

Paul Howarth pghmcfc at fedoraproject.org
Tue Mar 17 10:49:56 UTC 2015


commit b6d6f07ba7fcc5180c7fcd931f3c399b9536cab7
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Mar 17 10:45:47 2015 +0000

    Update to 1.66
    
    - New upstream release 1.66
      - Removed bundled Test::TempDir::Tiny to rely on File::Temp for temporary
        directories during testing
    - Revert to ExtUtils::MakeMaker flow

 perl-YAML-Tiny.spec | 23 +++++++++++++++--------
 sources             |  2 +-
 2 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec
index b9cad91..f2a5fb7 100644
--- a/perl-YAML-Tiny.spec
+++ b/perl-YAML-Tiny.spec
@@ -1,5 +1,5 @@
 Name:           perl-YAML-Tiny
-Version:        1.65
+Version:        1.66
 Release:        1%{?dist}
 Summary:        Read/Write YAML files with as little code as possible
 License:        GPL+ or Artistic
@@ -9,7 +9,7 @@ Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/YAML-Tiny-%{ve
 BuildArch:      noarch
 # Module Build
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build::Tiny) >= 0.039
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Module Runtime
 BuildRequires:  perl(B)
 BuildRequires:  perl(Carp)
@@ -20,12 +20,11 @@ BuildRequires:  perl(strict)
 # Test Suite
 BuildRequires:  perl(blib)
 BuildRequires:  perl(CPAN::Meta) >= 2.120900
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Spec) >= 0.80
 BuildRequires:  perl(File::Spec::Functions)
-BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(File::Temp) >= 0.19
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(IO::Dir)
 BuildRequires:  perl(JSON::MaybeXS) >= 1.001000
@@ -55,14 +54,16 @@ memory overhead.
 %setup -q -n YAML-Tiny-%{version}
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %files
 %license LICENSE
@@ -71,6 +72,12 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/YAML::Tiny.3*
 
 %changelog
+* Tue Mar 17 2015 Paul Howarth <paul at city-fan.org> - 1.66-1
+- Update to 1.66
+  - Removed bundled Test::TempDir::Tiny to rely on File::Temp for temporary
+    directories during testing
+- Revert to ExtUtils::MakeMaker flow
+
 * Sat Mar 14 2015 Paul Howarth <paul at city-fan.org> - 1.65-1
 - Update to 1.65
   - Artifacts left behind from testing are now cleaned up (GH#34)
diff --git a/sources b/sources
index 107f66c..9233af5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7a201d492e2cb2044df5548bd9a73773  YAML-Tiny-1.65.tar.gz
+1222e6ddfcd088dcd7cd2bed0008ddc0  YAML-Tiny-1.66.tar.gz



More information about the perl-devel mailing list