[perl-Class-Load] Update to 0.21

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

 



commit ef5e1101b2f3c9f991b852e341380c568fb8fcdc
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Feb 10 14:48:05 2014 +0000

    Update to 0.21
    
    - New upstream release 0.21
      - Repository moved to the github moose organization
    - This release by ETHER -> update source URL
    - Switch to Module::Build::Tiny flow
    - Package upstream CONTRIBUTING and README.md files
    - Add manpage for Class::Load::PP to %files list
    - Don't attempt to run author/release tests as Module::Build::Tiny does not
      provide a convenient way of doing that

 perl-Class-Load.spec |   60 ++++++++++++++++++++-----------------------------
 sources              |    2 +-
 2 files changed, 26 insertions(+), 36 deletions(-)
---
diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec
index 220d179..d5c9200 100644
--- a/perl-Class-Load.spec
+++ b/perl-Class-Load.spec
@@ -1,16 +1,16 @@
 Name:		perl-Class-Load
-Version:	0.20
-Release:	6%{?dist}
+Version:	0.21
+Release:	1%{?dist}
 Summary:	A working (require "Class::Name") and more
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Class-Load/
-Source0:	http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-%{version}.tar.gz
 BuildArch:	noarch
 # ===================================================================
 # Module build requirements
 # ===================================================================
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Module::Build::Tiny) >= 0.034
 # ===================================================================
 # Module requirements
 # ===================================================================
@@ -30,32 +30,17 @@ BuildRequires:	perl(Try::Tiny)
 %if 0%{!?perl_bootstrap:1}
 BuildRequires:	perl(Class::Load::XS)
 %endif
+BuildRequires:	perl(CPAN::Meta)
+BuildRequires:	perl(CPAN::Meta::Requirements) >= 2.120900
+BuildRequires:	perl(File::Spec::Functions)
 BuildRequires:	perl(lib)
+BuildRequires:	perl(List::Util)
 BuildRequires:	perl(Test::Fatal)
 BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Requires)
 BuildRequires:	perl(Test::Without::Module)
 BuildRequires:	perl(version)
 # ===================================================================
-# Author/Release test requirements
-# ===================================================================
-# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell
-# check test there; test would fail rather than skip without Test::Spelling so
-# we need to keep that as a buildreq
-%if 0%{?rhel} < 7
-BuildRequires:	aspell-en
-%endif
-# Pod::Coverage::Moose -> Moose -> Class::Load
-%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7
-BuildRequires:	perl(Pod::Coverage::Moose)
-%endif
-BuildRequires:	perl(Test::CPAN::Changes)
-BuildRequires:	perl(Test::EOL)
-BuildRequires:	perl(Test::NoTabs)
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
-BuildRequires:	perl(Test::Requires)
-BuildRequires:	perl(Test::Spelling)
-# ===================================================================
 # Runtime requirements
 # ===================================================================
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -78,27 +63,32 @@ provide is_class_loaded 'Class::Name'.
 %setup -q -n Class-Load-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-%{_fixperms} %{buildroot}
+./Build install --destdir=%{buildroot} --create_packlist=0
 
 %check
-%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7
-make test RELEASE_TESTING=1
-%else
-make test
-%endif
+./Build test
 
 %files
-%doc Changes LICENSE README
+%doc Changes CONTRIBUTING LICENSE README README.md
 %{perl_vendorlib}/Class/
 %{_mandir}/man3/Class::Load.3pm*
+%{_mandir}/man3/Class::Load::PP.3pm*
 
 %changelog
+* Mon Feb 10 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.21-1
+- Update to 0.21
+  - Repository moved to the github moose organization
+- This release by ETHER -> update source URL
+- Switch to Module::Build::Tiny flow
+- Package upstream CONTRIBUTING and README.md files
+- Add manpage for Class::Load::PP to %%files list
+- Don't attempt to run author/release tests as Module::Build::Tiny does not
+  provide a convenient way of doing that
+
 * Wed Aug 14 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.20-6
 - Perl 5.18 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 7929101..7e3f86d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9ccb131338a6cf1318599c08c095cf72  Class-Load-0.20.tar.gz
+67674318b7b47b519abfd9f16292dc35  Class-Load-0.21.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