1.24 bump

This commit is contained in:
Petr Písař 2016-10-14 16:52:14 +02:00
parent e9700d2974
commit 997c51f42d
4 changed files with 23 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/Time-Local-1.2300.tar.gz
/Time-Local-1.24.tar.gz

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* (gmtime|localtime)");

View File

@ -1,15 +1,19 @@
%global cpan_version 1.24
Name: perl-Time-Local
Version: 1.2300
Release: 365%{?dist}
Epoch: 1
Version: %{cpan_version}0
Release: 1%{?dist}
Summary: Efficiently compute time from local and GMT time
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Time-Local/
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
@ -17,9 +21,11 @@ BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(vars)
BuildRequires: perl(parent)
# Tests:
BuildRequires: perl(Test::More) >= 0.88
# POSIX not used
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@ -31,7 +37,7 @@ positive or negative, though POSIX only requires support for positive values,
so dates before the system's epoch may not work on all operating systems.
%prep
%setup -q -n Time-Local-%{version}
%setup -q -n Time-Local-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -39,18 +45,22 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes LICENSE README
%license LICENSE
%doc Changes CONTRIBUTING.md README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Oct 14 2016 Petr Pisar <ppisar@redhat.com> - 1:1.240-1
- 1.24 bump
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-365
- Increase release to favour standalone package

View File

@ -1 +1 @@
68e1be54c151cf131f9d4168b3e662f9 Time-Local-1.2300.tar.gz
15e86173e9f157ab44f8ec2fcab53fa4 Time-Local-1.24.tar.gz