[perl-aliased] Update to 0.33

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

 



commit af7d7b3f1dabb35cd351154e19a9ecc11fde07e6
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Dec 23 12:26:35 2014 +0000

    Update to 0.33
    
    - New upstream release 0.33
      - Don't inherit from Exporter
      - Fix docs issues
      - Fix warnings on perl 5.21.6 and up (CPAN RT#100359)
    - This release by ETHER → update source URL
    - Switch to Module::Build::Tiny flow
    - Modernize spec, dropping support for ancient distributions

 perl-aliased.spec |   58 ++++++++++++++++++++++++++++------------------------
 sources           |    2 +-
 2 files changed, 32 insertions(+), 28 deletions(-)
---
diff --git a/perl-aliased.spec b/perl-aliased.spec
index b94728d..e4708c4 100644
--- a/perl-aliased.spec
+++ b/perl-aliased.spec
@@ -1,24 +1,28 @@
-# We need to patch the test suite if we have an old version of Test::More
-%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
-
 Name:		perl-aliased
-Version:	0.31
-Release:	5%{?dist}
+Version:	0.33
+Release:	1%{?dist}
 Summary:	Use shorter versions of class names
 License:	GPL+ or Artistic
-Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/aliased/
-Source0:	http://search.cpan.org/CPAN/authors/id/O/OV/OVID/aliased-%{version}.tar.gz
-Patch0:		aliased-0.31-old-Test::More.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/aliased-%{version}.tar.gz
 BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
+BuildRequires:	perl(Module::Build::Tiny) >= 0.039
+BuildRequires:	perl(warnings)
+# Module Runtime
+BuildRequires:	perl(Carp)
 BuildRequires:	perl(Exporter)
+BuildRequires:	perl(strict)
+# Test Suite
+BuildRequires:	perl(B)
+BuildRequires:	perl(CPAN::Meta) >= 2.120900
+BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(lib)
-BuildRequires:	perl(Module::Build)
-BuildRequires:	perl(Test::More)
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
+BuildRequires:	perl(Test::More) >= 0.88
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(Carp)
 
 %description
 aliased is simple in concept but is a rather handy module. It loads the
@@ -30,33 +34,33 @@ subroutine is the last part of the class name.
 %prep
 %setup -q -n aliased-%{version}
 
-# We need to patch the test suite if we have an old version of Test::More
-%if %{old_test_more}
-%patch0
-%endif
-
 %build
-perl Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
-rm -rf %{buildroot}
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
 %{_fixperms} %{buildroot}
 
 %check
 ./Build test
-./Build test --test_files="xt/author/*.t"
-
-%clean
-rm -rf %{buildroot}
 
 %files
-%doc Changes README
+%license LICENSE
+%doc Changes CONTRIBUTING README
 %{perl_vendorlib}/aliased.pm
-%{_mandir}/man3/aliased.3pm*
+%{_mandir}/man3/aliased.3*
 
 %changelog
+* Mon Dec 22 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.33-1
+- Update to 0.33
+  - Don't inherit from Exporter
+  - Fix docs issues
+  - Fix warnings on perl 5.21.6 and up (CPAN RT#100359)
+- This release by ETHER → update source URL
+- Switch to Module::Build::Tiny flow
+- Modernize spec, dropping support for ancient distributions
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.31-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 58e7abe..f41015d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-869a73038bd769b5528ac81c326162f2  aliased-0.31.tar.gz
+af0b619806b8ecb764ee7e643c5541e9  aliased-0.33.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