[perl-Perl-OSType] Update to 1.004

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

 



commit da5e5cb153643cc324a4fcabbad21d96d0c97efd
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Aug 22 13:09:03 2013 +0100

    Update to 1.004
    
    - New upstream release 1.004
      - 'bitrig' is a Unix
    - Specify all dependencies
    - Drop EPEL-5/EPEL-6 support as they don't have Capture::Tiny
    - Always use aspell for the spell check as Pod::Wordlist::hanekomu explicitly
      sets the speller to aspell

 Perl-OSType-1.003-old-EU::MM.patch     |   30 --------------------
 Perl-OSType-1.003-old-Test::More.patch |   35 -----------------------
 perl-Perl-OSType.spec                  |   48 ++++++++++----------------------
 sources                                |    2 +-
 4 files changed, 16 insertions(+), 99 deletions(-)
---
diff --git a/perl-Perl-OSType.spec b/perl-Perl-OSType.spec
index 850ec03..e37ba7c 100644
--- a/perl-Perl-OSType.spec
+++ b/perl-Perl-OSType.spec
@@ -1,33 +1,21 @@
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%global old_eumm %(perl -MExtUtils::MakeMaker -e 'print (($ExtUtils::MakeMaker::VERSION < 6.30) ? 1 : 0);' 2>/dev/null || echo 0)
-
-# Test suite needs patching if we have Test::More < 0.88
-%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
-
-# Select the appropriate system speller
-%if %(perl -e 'print (($] >= 5.010000) ? 1 : 0);')
-%global speller hunspell
-%else
-%global speller aspell
-%endif
-
 Name:		perl-Perl-OSType
-Version:	1.003
-Release:	292%{?dist}
+Version:	1.004
+Release:	1%{?dist}
 Summary:	Map Perl operating system names to generic types
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Perl-OSType/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Perl-OSType-%{version}.tar.gz
-Patch0:		Perl-OSType-1.003-old-EU::MM.patch
-Patch1:		Perl-OSType-1.003-old-Test::More.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
 BuildRequires:	perl(ExtUtils::MakeMaker)
 # Module
 BuildRequires:	perl(Exporter)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
 # Test Suite
+BuildRequires:	perl(blib)
+BuildRequires:	perl(Capture::Tiny)
 BuildRequires:	perl(constant)
 BuildRequires:	perl(File::Spec::Functions)
 BuildRequires:	perl(File::Temp)
@@ -45,7 +33,7 @@ BuildRequires:	perl(Test::Perl::Critic)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Test::Portability::Files)
-BuildRequires:	perl(Test::Spelling), %{speller}-en
+BuildRequires:	perl(Test::Spelling), aspell-en
 BuildRequires:	perl(Test::Version)
 %endif
 # Runtime
@@ -64,22 +52,11 @@ systems are given the type 'Windows' rather than 'Win32').
 %prep
 %setup -q -n Perl-OSType-%{version}
 
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%if %{old_eumm}
-%patch0
-%endif
-
-# Fix test suite for Test::More < 0.88
-%if %{old_test_more}
-%patch1
-%endif
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} %{buildroot}
@@ -90,15 +67,20 @@ make test
 make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 %endif
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %doc Changes CONTRIBUTING LICENSE README
 %{perl_vendorlib}/Perl/
 %{_mandir}/man3/Perl::OSType.3pm*
 
 %changelog
+* Thu Aug 22 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.004-1
+- Update to 1.004
+  - 'bitrig' is a Unix
+- Specify all dependencies
+- Drop EPEL-5/EPEL-6 support as they don't have Capture::Tiny
+- Always use aspell for the spell check as Pod::Wordlist::hanekomu explicitly
+  sets the speller to aspell
+
 * Wed Aug 14 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.003-292
 - Perl 5.18 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 482d645..700931e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1d559772093dd50d88c932417c0cb657  Perl-OSType-1.003.tar.gz
+00db898f95253d4ac3bc45d9beb6815c  Perl-OSType-1.004.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