parent
75142a41d7
commit
6526fa5187
|
@ -1,20 +1,17 @@
|
||||||
Name: perl-DateTime-Format-Strptime
|
Name: perl-DateTime-Format-Strptime
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.62
|
Version: 1.63
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Parse and format strptime and strftime patterns
|
Summary: Parse and format strptime and strftime patterns
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
|
||||||
URL: http://search.cpan.org/dist/DateTime-Format-Strptime/
|
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
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: coreutils
|
|
||||||
BuildRequires: findutils
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
# Run-time:
|
# Run-time:
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
|
@ -25,7 +22,6 @@ BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(Package::DeprecationManager) >= 0.15
|
BuildRequires: perl(Package::DeprecationManager) >= 0.15
|
||||||
BuildRequires: perl(Params::Validate) >= 1.20
|
BuildRequires: perl(Params::Validate) >= 1.20
|
||||||
BuildRequires: perl(Try::Tiny)
|
BuildRequires: perl(Try::Tiny)
|
||||||
BuildRequires: perl(warnings)
|
|
||||||
# Tests:
|
# Tests:
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
|
@ -46,7 +42,7 @@ BuildRequires: perl(Test::More) >= 0.96
|
||||||
# Test::Version 1 not used
|
# Test::Version 1 not used
|
||||||
BuildRequires: perl(Test::Warnings)
|
BuildRequires: perl(Test::Warnings)
|
||||||
BuildRequires: perl(utf8)
|
BuildRequires: perl(utf8)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module implements most of strptime(3), the POSIX function that is the
|
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}
|
%setup -q -n DateTime-Format-Strptime-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
%{_fixperms} %{buildroot}
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes README.md
|
%doc Changes README.md
|
||||||
|
@ -80,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_mandir}/man3/DateTime::Format::Strptime.3*
|
%{_mandir}/man3/DateTime::Format::Strptime.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 21 2015 Petr Šabata <contyk@redhat.com> - 1:1.62-1
|
||||||
- 1.62 bump
|
- 1.62 bump
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue