|
|
|
@ -1,28 +1,41 @@
|
|
|
|
|
Name: perl-HTTP-Date
|
|
|
|
|
Version: 6.02
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Version: 6.05
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Date conversion routines
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/HTTP-Date/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz
|
|
|
|
|
URL: https://metacpan.org/release/HTTP-Date
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Date-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.6.2
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(Time::Local)
|
|
|
|
|
# perl(Time::Zone) not used
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
# Tests only:
|
|
|
|
|
BuildRequires: perl(Time::Local) >= 1.28
|
|
|
|
|
# Time::Zone not used
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Optional tests:
|
|
|
|
|
# CPAN::Meta not helpful
|
|
|
|
|
# CPAN::Meta::Prereqs not helpful
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Time::Local) >= 1.28
|
|
|
|
|
# Strongly recommended:
|
|
|
|
|
Requires: perl(Time::Zone)
|
|
|
|
|
Conflicts: perl-libwww-perl < 6
|
|
|
|
|
|
|
|
|
|
# Remove under-specified version
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Time::Local\\)$
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module provides functions that deal the date formats used by the HTTP
|
|
|
|
|
protocol (and then some more). Only the first two functions, time2str() and
|
|
|
|
@ -32,25 +45,66 @@ str2time(), are exported by default.
|
|
|
|
|
%setup -q -n HTTP-Date-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
unset AUTHOR_TESTING PERL_COMPILE_TEST_DEBUG
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes CONTRIBUTORS README.md
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-19
|
|
|
|
|
- Rebuild with enable hardening (bug #1636329)
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.05-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.05-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.05-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.05-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.05-3
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.05-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2019 Petr Pisar <ppisar@redhat.com> - 6.05-1
|
|
|
|
|
- 6.05 bump
|
|
|
|
|
|
|
|
|
|
* Fri Nov 15 2019 Petr Pisar <ppisar@redhat.com> - 6.04-1
|
|
|
|
|
- 6.04 bump
|
|
|
|
|
|
|
|
|
|
* Thu Nov 14 2019 Petr Pisar <ppisar@redhat.com> - 6.03-1
|
|
|
|
|
- 6.03 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-22
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-19
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|