[perl-Test-CPAN-Meta] Update to 0.24

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 626bdd65eab0d9f260f9bef4e1becdb95449b145
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Jan 13 10:52:07 2015 +0000

    Update to 0.24
    
    - New upstream release 0.24
      - Extended META test suite
      - Added META.json and tests
      - Documentation updates
    - Classify buildreqs by usage
    - Use a patch rather than scripted iconv to fix character encoding
    - Modernize spec

 Test-CPAN-Meta-0.24-utf8.patch |   11 ++++++++
 perl-Test-CPAN-Meta.spec       |   51 +++++++++++++++++++++++++--------------
 sources                        |    2 +-
 3 files changed, 45 insertions(+), 19 deletions(-)
---
diff --git a/Test-CPAN-Meta-0.24-utf8.patch b/Test-CPAN-Meta-0.24-utf8.patch
new file mode 100644
index 0000000..bd5bf2b
--- /dev/null
+++ b/Test-CPAN-Meta-0.24-utf8.patch
@@ -0,0 +1,11 @@
+--- LICENSE
++++ LICENSE
+@@ -1,6 +1,6 @@
+ LICENSE FOR Test-CPAN-Meta
+ 
+-This software is copyright � 2007-2015 Barbie for Miss Barbell Productions.
++This software is copyright © 2007-2015 Barbie for Miss Barbell Productions.
+ 
+ This distribution is free software; you can redistribute it and/or
+ modify it under the Artistic Licence v2.
+\ No newline at end of file
diff --git a/perl-Test-CPAN-Meta.spec b/perl-Test-CPAN-Meta.spec
index 59eae4c..efc21f7 100644
--- a/perl-Test-CPAN-Meta.spec
+++ b/perl-Test-CPAN-Meta.spec
@@ -1,21 +1,30 @@
 Name:           perl-Test-CPAN-Meta
-Version:        0.23
-Release:        5%{?dist}
+Version:        0.24
+Release:        1%{?dist}
 Summary:        Validation of the META.yml file in a CPAN distribution
 License:        Artistic 2.0
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-CPAN-Meta/
 Source0:        http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Patch0:         Test-CPAN-Meta-0.24-utf8.patch
 BuildArch:      noarch
+# Module Build
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(IO::File)
+# Module Runtime
 BuildRequires:  perl(Parse::CPAN::Meta) >= 0.02
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Test Suite
+BuildRequires:  perl(IO::File)
 BuildRequires:  perl(Test::Builder::Tester)
-BuildRequires:  perl(Test::More) >= 0.70
+BuildRequires:  perl(Test::More) >= 0.62
+# Optional Tests
+BuildRequires:  perl(Test::CPAN::Meta::JSON)
 BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage) >= 0.08
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -28,32 +37,38 @@ Module::Install.
 %prep
 %setup -q -n Test-CPAN-Meta-%{version}
 
-iconv -f iso-8859-1 -t utf-8 LICENSE > LICENSE.tmp
-mv -f LICENSE.tmp LICENSE
+# Re-code documentation as UTF-8
+%patch0
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} $RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
 
 %check
 make test AUTOMATED_TESTING=1
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%doc Changes LICENSE README examples/
+%license LICENSE
+%doc Changes README examples/
 %{perl_vendorlib}/Test/
-%{_mandir}/man3/Test::CPAN::Meta.3pm*
-%{_mandir}/man3/Test::CPAN::Meta::Version.3pm*
+%{_mandir}/man3/Test::CPAN::Meta.3*
+%{_mandir}/man3/Test::CPAN::Meta::Version.3*
 
 %changelog
+* Tue Jan 13 2015 Paul Howarth <paul@xxxxxxxxxxxx> - 0.24-1
+- Update to 0.24
+  - Extended META test suite
+  - Added META.json and tests
+  - Documentation updates
+- Classify buildreqs by usage
+- Use a patch rather than scripted iconv to fix character encoding
+- Modernize spec
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.23-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 0718e20..5cfa0b1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ec0129151f4631fc725a2d7ec24e4801  Test-CPAN-Meta-0.23.tar.gz
+b91f2d47eff5945fa40ca0ce62efa4af  Test-CPAN-Meta-0.24.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux