Update to 1.00

- New upstream release 1.00
  - Switch to external Test::Base
  - Fix bad encoding in Pod
- Test::YAML is now unbundled
- Take advantage of new features in recent EU::MM to simplify spec
This commit is contained in:
Paul Howarth 2014-08-08 15:18:10 +01:00
parent 39fd9de002
commit f89cabea9c
2 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
Name: perl-YAML
Version: 0.98
Version: 1.00
Release: 1%{?dist}
Summary: YAML Ain't Markup Language (tm)
License: GPL+ or Artistic
@ -12,7 +12,7 @@ BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(ExtUtils::MakeMaker) > 6.75
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
@ -21,6 +21,7 @@ BuildRequires: perl(Test::More) >= 0.88
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Test::Pod) >= 1.41
%endif
BuildRequires: perl(Test::YAML) >= 0.99
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
@ -43,19 +44,11 @@ specification.
%setup -q -n YAML-%{version}
%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}
# Removing Test::YAML (at least temporarily) due
# to security concerns and questionable value.
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539
rm -f %{buildroot}%{perl_vendorlib}/Test/YAML* \
%{buildroot}%{_mandir}/man3/Test::YAML*.3*
make install DESTDIR=%{buildroot}
%check
# Avoid circular build deps via Module::Build on Test::Pod when bootstrapping
@ -103,6 +96,13 @@ make test %{!?perl_bootstrap:RELEASE_TESTING=1}
%{_mandir}/man3/YAML::Types.3pm*
%changelog
* Fri Aug 8 2014 Paul Howarth <paul@city-fan.org> - 1.00-1
- Update to 1.00
- Switch to external Test::Base
- Fix bad encoding in Pod
- Test::YAML is now unbundled
- Take advantage of new features in recent EU::MM to simplify spec
* Thu Jul 31 2014 Paul Howarth <paul@city-fan.org> - 0.98-1
- Update to 0.98
- Fix indexing of YAML::Any

View File

@ -1 +1 @@
8446a110117f463850ac69de872daa91 YAML-0.98.tar.gz
4ef2c69e81f2267450794dd38725db03 YAML-1.00.tar.gz