Update to 1.010
- New upstream release 1.010 - Added 'msys' as a Unix-type OS - BR: perl-generators where available - Simplify find command using -delete - Update patches as needed
This commit is contained in:
parent
58298f62c7
commit
dfc7aa1e84
@ -17,12 +17,12 @@
|
|||||||
-
|
-
|
||||||
--- xt/author/test-version.t
|
--- xt/author/test-version.t
|
||||||
+++ xt/author/test-version.t
|
+++ xt/author/test-version.t
|
||||||
@@ -15,8 +15,8 @@ my $params = {
|
@@ -17,7 +17,8 @@ my $params = {
|
||||||
push @imports, $params
|
push @imports, $params
|
||||||
if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
|
if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
|
||||||
|
|
||||||
+plan tests => 2;
|
+plan tests => 2;
|
||||||
|
+
|
||||||
Test::Version->import(@imports);
|
Test::Version->import(@imports);
|
||||||
|
|
||||||
-version_all_ok;
|
-version_all_ok;
|
@ -1,6 +1,6 @@
|
|||||||
--- lib/Perl/OSType.pm
|
--- lib/Perl/OSType.pm
|
||||||
+++ lib/Perl/OSType.pm
|
+++ lib/Perl/OSType.pm
|
||||||
@@ -107,6 +107,8 @@ version 1.008
|
@@ -108,6 +108,8 @@ version 1.008
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
@ -9,15 +9,15 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: perl-Perl-OSType
|
Name: perl-Perl-OSType
|
||||||
Version: 1.009
|
Version: 1.010
|
||||||
Release: 366%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Map Perl operating system names to generic types
|
Summary: Map Perl operating system names to generic types
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Perl-OSType/
|
URL: http://search.cpan.org/dist/Perl-OSType/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Perl-OSType-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Perl-OSType-%{version}.tar.gz
|
||||||
Patch1: Perl-OSType-1.009-old-Test::More.patch
|
Patch1: Perl-OSType-1.010-old-Test::More.patch
|
||||||
Patch2: Perl-OSType-1.009-stopwords.patch
|
Patch2: Perl-OSType-1.010-stopwords.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
@ -25,6 +25,9 @@ BuildRequires: coreutils
|
|||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
%endif
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||||
# Module
|
# Module
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
@ -86,7 +89,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -109,6 +112,13 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/Perl::OSType.3*
|
%{_mandir}/man3/Perl::OSType.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 22 2016 Paul Howarth <paul@city-fan.org> - 1.010-1
|
||||||
|
- Update to 1.010
|
||||||
|
- Added 'msys' as a Unix-type OS
|
||||||
|
- BR: perl-generators where available
|
||||||
|
- Simplify find command using -delete
|
||||||
|
- Update patches as needed
|
||||||
|
|
||||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.009-366
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.009-366
|
||||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user