Update to 1.54

- New upstream release 1.54
  - Convert to Dist::Zilla
  - Updated format to conform to CPAN::Changes::Spec
- Upstream shipping README again
- Switch to Module::Build::Tiny flow
- Classify buildreqs by usage
This commit is contained in:
Paul Howarth 2013-08-22 19:14:44 +01:00
parent 8eb9caf80e
commit 534335ffb2
2 changed files with 30 additions and 15 deletions

View File

@ -1,5 +1,5 @@
Name: perl-YAML-Tiny
Version: 1.53
Version: 1.54
Release: 1%{?dist}
Summary: Read/Write YAML files with as little code as possible
License: GPL+ or Artistic
@ -7,21 +7,30 @@ Group: Development/Libraries
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(Module::Build::Tiny) >= 0.026
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
# Test Suite
BuildRequires: perl(blib)
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(CPAN::Meta::Check) >= 0.007
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::CheckDeps) >= 0.006
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(warnings)
BuildRequires: perl(YAML)
BuildRequires: perl(YAML::Syck)
BuildRequires: perl(YAML::XS)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
Requires: perl(Exporter)
Requires: perl(Scalar::Util)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
%description
YAML::Tiny is a Perl class for reading and writing YAML-style files,
@ -32,23 +41,29 @@ 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 PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
./Build install --destdir=%{buildroot} --create_packlist=0
%check
make test AUTOMATED_TESTING=1
./Build test
%files
%doc Changes LICENSE
%doc Changes LICENSE README
%{perl_vendorlib}/YAML/
%{_mandir}/man3/YAML::Tiny.3pm*
%changelog
* Thu Aug 22 2013 Paul Howarth <paul@city-fan.org> 1.54-1
- Update to 1.54
- Convert to Dist::Zilla
- Updated format to conform to CPAN::Changes::Spec
- Upstream shipping README again
- Switch to Module::Build::Tiny flow
- Classify buildreqs by usage
* Wed Aug 21 2013 Paul Howarth <paul@city-fan.org> 1.53-1
- Update to 1.53
- Updated repository metadata to reflect move to github

View File

@ -1 +1 @@
8eaa665b54b94770c438407dd99b3ee2 YAML-Tiny-1.53.tar.gz
bb82110db337a9afca48630dfca9b8e0 YAML-Tiny-1.54.tar.gz