[perl-YAML] Update to 1.00

Paul Howarth pghmcfc at fedoraproject.org
Fri Aug 8 14:18:43 UTC 2014


commit f89cabea9c0ed2912d90da50a5a7708f6985eb9e
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Aug 8 15:18:10 2014 +0100

    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

 perl-YAML.spec |   24 ++++++++++++------------
 sources        |    2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/perl-YAML.spec b/perl-YAML.spec
index 156b3fc..6db6825 100644
--- a/perl-YAML.spec
+++ b/perl-YAML.spec
@@ -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 at 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 at city-fan.org> - 0.98-1
 - Update to 0.98
   - Fix indexing of YAML::Any
diff --git a/sources b/sources
index 5723852..b9c7000 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8446a110117f463850ac69de872daa91  YAML-0.98.tar.gz
+4ef2c69e81f2267450794dd38725db03  YAML-1.00.tar.gz


More information about the scm-commits mailing list