[perl-Test-CPAN-Meta-JSON] Update to 0.11
Paul Howarth
pghmcfc at fedoraproject.org
Sun Apr 15 13:21:14 UTC 2012
commit 3f3cc66829c789dc6b2122c20e90368016b3e439
Author: Paul Howarth <paul at city-fan.org>
Date: Sun Apr 15 14:20:17 2012 +0100
Update to 0.11
- New upstream release 0.11
- CPAN RT#74317: imported url validation from CPAN::Meta
- CPAN RT#66692: updated license type
- Updates to examples
- BR: perl(Test::CPAN::Meta) rather than perl(Test::CPAN::Meta::YAML)
- Don't need to remove empty directories from buildroot
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Drop %defattr, redundant since rpm 4.4
perl-Test-CPAN-Meta-JSON.spec | 20 ++++++++++++++------
sources | 2 +-
2 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/perl-Test-CPAN-Meta-JSON.spec b/perl-Test-CPAN-Meta-JSON.spec
index 7f71b84..dce1202 100644
--- a/perl-Test-CPAN-Meta-JSON.spec
+++ b/perl-Test-CPAN-Meta-JSON.spec
@@ -1,6 +1,6 @@
Name: perl-Test-CPAN-Meta-JSON
-Version: 0.10
-Release: 3%{?dist}
+Version: 0.11
+Release: 1%{?dist}
Summary: Validate a META.json file within a CPAN distribution
Group: Development/Libraries
License: Artistic 2.0
@@ -14,7 +14,7 @@ BuildRequires: perl(IO::File)
BuildRequires: perl(JSON) >= 2.15
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder::Tester)
-BuildRequires: perl(Test::CPAN::Meta::YAML)
+BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
@@ -40,9 +40,8 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{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
@@ -52,13 +51,22 @@ make test AUTOMATED_TESTING=1
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README examples/
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::CPAN::Meta::JSON.3pm*
%{_mandir}/man3/Test::CPAN::Meta::JSON::Version.3pm*
%changelog
+* Sun Apr 15 2012 Paul Howarth <paul at city-fan.org> - 0.11-1
+- Update to 0.11
+ - CPAN RT#74317: imported url validation from CPAN::Meta
+ - CPAN RT#66692: updated license type
+ - Updates to examples
+- BR: perl(Test::CPAN::Meta) rather than perl(Test::CPAN::Meta::YAML)
+- Don't need to remove empty directories from buildroot
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Drop %%defattr, redundant since rpm 4.4
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 739228f..2f2e6e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9eef3f20cc2b080ae6e15a75d8ede59f Test-CPAN-Meta-JSON-0.10.tar.gz
+a5056f68049d5aaae6d090ad53fcd21a Test-CPAN-Meta-JSON-0.11.tar.gz
More information about the scm-commits
mailing list