From 234fc61a141bf9fef36d06341556315ec0f5de7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Fri, 14 Oct 2016 16:52:14 +0200 Subject: 1.24 bump
--- .gitignore | 1 + .rpmlint | 2 ++ perl-Time-Local.spec | 28 +++++++++++++++++++--------- sources | 2 +- 4 files changed, 23 insertions(+), 10 deletions(-) create mode 100644 .rpmlint diff --git a/.gitignore b/.gitignore index d83ea2c..8a88865 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Time-Local-1.2300.tar.gz +/Time-Local-1.24.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..de62e0f --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (gmtime|localtime)"); diff --git a/perl-Time-Local.spec b/perl-Time-Local.spec index 421d9bf..a4615d8 100644 --- a/perl-Time-Local.spec +++ b/perl-Time-Local.spec @@ -1,15 +1,19 @@ +%global cpan_version 1.24 Name: perl-Time-Local -Version: 1.2300 -Release: 347%{?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 <ppi...@redhat.com> - 1:1.240-1 +- 1.24 bump + * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 1.2300-347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 8c6f9a8..c0633ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -68e1be54c151cf131f9d4168b3e662f9 Time-Local-1.2300.tar.gz +15e86173e9f157ab44f8ec2fcab53fa4 Time-Local-1.24.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Time-Local.git/commit/?h=f24&id=234fc61a141bf9fef36d06341556315ec0f5de7d _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org