[perl-Test-CPAN-Meta-YAML] Update to 0.18

Paul Howarth pghmcfc at fedoraproject.org
Sun Apr 15 12:59:15 UTC 2012


commit 2d8ca496a7f1baeb1257da15c29c0be27fbf9fb5
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Apr 15 13:58:22 2012 +0100

    Update to 0.18
    
    - New upstream release 0.18
      - CPAN RT#74317: Imported url validation from CPAN::Meta
      - CPAN RT#66692: Updated license type
      - Updates to examples
    - Update UTF8 patch
    - Don't need to remove empty directories from buildroot
    - Don't use macros for commands
    - Drop %defattr, redundant since rpm 4.4

 .gitignore                          |    2 +-
 Test-CPAN-Meta-YAML-0.17-utf8.patch |   10 ----------
 Test-CPAN-Meta-YAML-0.18-utf8.patch |   10 ++++++++++
 perl-Test-CPAN-Meta-YAML.spec       |   24 ++++++++++++++++--------
 sources                             |    2 +-
 5 files changed, 28 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index be702fd..8729c34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-CPAN-Meta-YAML-0.17.tar.gz
+/Test-CPAN-Meta-YAML-[0-9.]*.tar.gz
diff --git a/Test-CPAN-Meta-YAML-0.18-utf8.patch b/Test-CPAN-Meta-YAML-0.18-utf8.patch
new file mode 100644
index 0000000..ab0e415
--- /dev/null
+++ b/Test-CPAN-Meta-YAML-0.18-utf8.patch
@@ -0,0 +1,10 @@
+--- LICENSE
++++ LICENSE
+@@ -1,6 +1,6 @@
+ LICENSE FOR Test-CPAN-Meta-YAML
+ 
+-This software is copyright © 2007-2012 Barbie for Miss Barbell Productions.
++This software is copyright © 2007-2012 Barbie for Miss Barbell Productions.
+ 
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License 2.0.
diff --git a/perl-Test-CPAN-Meta-YAML.spec b/perl-Test-CPAN-Meta-YAML.spec
index 069feae..e4f1e5c 100644
--- a/perl-Test-CPAN-Meta-YAML.spec
+++ b/perl-Test-CPAN-Meta-YAML.spec
@@ -1,13 +1,13 @@
 Name:		perl-Test-CPAN-Meta-YAML
-Version:	0.17
-Release:	4%{?dist}
+Version:	0.18
+Release:	1%{?dist}
 Summary:	Validate a META.yml file within a CPAN distribution
 Group:		Development/Libraries
 License:	Artistic 2.0
 URL:		http://search.cpan.org/dist/Test-CPAN-Meta-YAML/
 Source0:	http://search.cpan.org/CPAN/authors/id/B/BA/BARBIE/Test-CPAN-Meta-YAML-%{version}.tar.gz
-Patch0:		Test-CPAN-Meta-YAML-0.17-utf8.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:		Test-CPAN-Meta-YAML-0.18-utf8.patch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Test::Builder)
@@ -17,7 +17,7 @@ BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Test::YAML::Valid) >= 0.03
 BuildRequires:	perl(YAML::Syck)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # Explicitly requests the YAML::Syck backend for Test::YAML::Valid
 Requires:	perl(YAML::Syck)
 
@@ -33,7 +33,7 @@ See CPAN::Meta for further details of the CPAN Meta Specification.
 %setup -q -n Test-CPAN-Meta-YAML-%{version}
 
 # Recode LICENSE as UTF-8
-%patch0 -p1
+%patch0
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -43,7 +43,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -53,13 +52,22 @@ make test AUTOMATED_TESTING=1
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::CPAN::Meta::YAML.3pm*
 %{_mandir}/man3/Test::CPAN::Meta::YAML::Version.3pm*
 
 %changelog
+* Sun Apr 15 2012 Paul Howarth <paul at city-fan.org> - 0.18-1
+- Update to 0.18
+  - CPAN RT#74317: Imported url validation from CPAN::Meta
+  - CPAN RT#66692: Updated license type
+  - Updates to examples
+- Update UTF8 patch
+- Don't need to remove empty directories from buildroot
+- Don't use macros for commands
+- Drop %%defattr, redundant since rpm 4.4
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.17-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 6ea3f27..4ba3457 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b22c1b552401192cbb6a9a92a961e397  Test-CPAN-Meta-YAML-0.17.tar.gz
+b2dd3c631ce17edd6b37a70872c9789c  Test-CPAN-Meta-YAML-0.18.tar.gz


More information about the scm-commits mailing list