1.63 bump

- Modernize the SPEC file
This commit is contained in:
Petr Šabata 2016-01-14 12:14:30 +01:00
parent 75142a41d7
commit 6526fa5187
2 changed files with 12 additions and 17 deletions

View File

@ -1,20 +1,17 @@
Name: perl-DateTime-Format-Strptime
Epoch: 1
Version: 1.62
Version: 1.63
Release: 1%{?dist}
Summary: Parse and format strptime and strftime patterns
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DateTime-Format-Strptime/
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
@ -25,7 +22,6 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(Package::DeprecationManager) >= 0.15
BuildRequires: perl(Params::Validate) >= 1.20
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
@ -46,7 +42,7 @@ BuildRequires: perl(Test::More) >= 0.96
# Test::Version 1 not used
BuildRequires: perl(Test::Warnings)
BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This module implements most of strptime(3), the POSIX function that is the
@ -58,21 +54,16 @@ returns the DateTime object associated.
%setup -q -n DateTime-Format-Strptime-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%license LICENSE
%doc Changes README.md
@ -80,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/DateTime::Format::Strptime.3*
%changelog
* Thu Jan 14 2016 Petr Šabata <contyk@redhat.com> - 1:1.63-1
- 1.63 bump
- Modernize the SPEC file
* Mon Dec 21 2015 Petr Šabata <contyk@redhat.com> - 1:1.62-1
- 1.62 bump

View File

@ -1 +1 @@
700b201f3950f86602f06dd64cdb1438 DateTime-Format-Strptime-1.62.tar.gz
daa40cdf6650034c853a1783ff41c346 DateTime-Format-Strptime-1.63.tar.gz