[perl-YAML-Tiny] Update to 1.56

Paul Howarth pghmcfc at fedoraproject.org
Wed Sep 25 13:13:20 UTC 2013


commit cf51f30a6ce5f6b4abdc9bbff969fcfc199fe4c1
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Sep 25 14:12:24 2013 +0100

    Update to 1.56
    
    - New upstream release 1.56
      - read_string documentation error fixed (CPAN RT#74409)
      - Re-release with fixed compile test
    - Go back to Module::Build::Tiny flow

 perl-YAML-Tiny.spec |   22 ++++++++++++++--------
 sources             |    2 +-
 2 files changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec
index 1f6f9f2..bc3dfbf 100644
--- a/perl-YAML-Tiny.spec
+++ b/perl-YAML-Tiny.spec
@@ -1,5 +1,5 @@
 Name:           perl-YAML-Tiny
-Version:        1.55
+Version:        1.56
 Release:        1%{?dist}
 Summary:        Read/Write YAML files with as little code as possible
 License:        GPL+ or Artistic
@@ -8,7 +8,7 @@ URL:            http://search.cpan.org/dist/YAML-Tiny/
 Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/YAML-Tiny-%{version}.tar.gz
 BuildArch:      noarch
 # Module Build
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(Module::Build::Tiny) >= 0.027
 # Module Runtime
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
@@ -16,10 +16,12 @@ BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(strict)
 # Test Suite
 BuildRequires:  perl(blib)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec) >= 0.80
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(IPC::Open3)
+BuildRequires:  perl(List::Util)
 BuildRequires:  perl(Test::More) >= 0.94
 BuildRequires:  perl(vars)
 BuildRequires:  perl(warnings)
@@ -41,16 +43,14 @@ memory overhead.
 %setup -q -n YAML-Tiny-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} %{buildroot}
+./Build install --destdir=%{buildroot} --create_packlist=0
 
 %check
-make test AUTHOR_TESTING=1
+./Build test
 
 %files
 %doc Changes LICENSE README
@@ -58,6 +58,12 @@ make test AUTHOR_TESTING=1
 %{_mandir}/man3/YAML::Tiny.3pm*
 
 %changelog
+* Wed Sep 25 2013 Paul Howarth <paul at city-fan.org> 1.56-1
+- Update to 1.56
+  - read_string documentation error fixed (CPAN RT#74409)
+  - Re-release with fixed compile test
+- Go back to Module::Build::Tiny flow
+
 * Thu Sep 19 2013 Paul Howarth <paul at city-fan.org> 1.55-1
 - Update to 1.55
   - Revert to ExtUtils::MakeMaker flow
diff --git a/sources b/sources
index 399660b..eb4c689 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9a67f7a445b8c29e6b484869f2394d40  YAML-Tiny-1.55.tar.gz
+9fd7940c05b025d6be08217c9a5061b6  YAML-Tiny-1.56.tar.gz


More information about the scm-commits mailing list