45a937
Name:           perl-HTTP-Date
45a937
Version:        6.05
45a937
Release:        7%{?dist}
45a937
Summary:        Date conversion routines
45a937
License:        GPL+ or Artistic
45a937
URL:            https://metacpan.org/release/HTTP-Date
45a937
Source0:        https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Date-%{version}.tar.gz
45a937
BuildArch:      noarch
45a937
BuildRequires:  make
45a937
BuildRequires:  perl-generators
45a937
BuildRequires:  perl-interpreter
45a937
BuildRequires:  perl(:VERSION) >= 5.6.2
45a937
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
45a937
BuildRequires:  perl(strict)
45a937
BuildRequires:  perl(warnings)
45a937
# Run-time:
45a937
BuildRequires:  perl(Exporter)
45a937
BuildRequires:  perl(Time::Local) >= 1.28
45a937
# Time::Zone not used
45a937
# Tests:
45a937
BuildRequires:  perl(blib)
45a937
BuildRequires:  perl(File::Spec)
45a937
BuildRequires:  perl(IO::Handle)
45a937
BuildRequires:  perl(IPC::Open3)
45a937
BuildRequires:  perl(Test)
45a937
BuildRequires:  perl(Test::More)
45a937
# Optional tests:
45a937
# CPAN::Meta not helpful
45a937
# CPAN::Meta::Prereqs not helpful
45a937
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
45a937
Requires:       perl(Time::Local) >= 1.28
45a937
# Strongly recommended:
45a937
Requires:       perl(Time::Zone)
45a937
Conflicts:      perl-libwww-perl < 6
45a937
45a937
# Remove under-specified version
45a937
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Time::Local\\)$
45a937
45a937
%description
45a937
This module provides functions that deal the date formats used by the HTTP
45a937
protocol (and then some more). Only the first two functions, time2str() and
45a937
str2time(), are exported by default.
45a937
45a937
%prep
45a937
%setup -q -n HTTP-Date-%{version}
45a937
45a937
%build
45a937
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
45a937
%{make_build}
45a937
45a937
%install
45a937
%{make_install}
45a937
%{_fixperms} %{buildroot}/*
45a937
45a937
%check
45a937
unset AUTHOR_TESTING PERL_COMPILE_TEST_DEBUG
45a937
make test
45a937
45a937
%files
45a937
%license LICENSE
45a937
%doc Changes CONTRIBUTORS README.md
45a937
%{perl_vendorlib}/*
45a937
%{_mandir}/man3/*
45a937
45a937
%changelog
45a937
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.05-7
45a937
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
45a937
  Related: rhbz#1991688
45a937
45a937
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.05-6
45a937
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
45a937
45a937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.05-5
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
45a937
45a937
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.05-4
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
45a937
45a937
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.05-3
45a937
- Perl 5.32 rebuild
45a937
45a937
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.05-2
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
45a937
45a937
* Tue Nov 19 2019 Petr Pisar <ppisar@redhat.com> - 6.05-1
45a937
- 6.05 bump
45a937
45a937
* Fri Nov 15 2019 Petr Pisar <ppisar@redhat.com> - 6.04-1
45a937
- 6.04 bump
45a937
45a937
* Thu Nov 14 2019 Petr Pisar <ppisar@redhat.com> - 6.03-1
45a937
- 6.03 bump
45a937
45a937
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-23
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
45a937
45a937
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-22
45a937
- Perl 5.30 rebuild
45a937
45a937
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-21
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
45a937
45a937
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-20
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
45a937
45a937
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-19
45a937
- Perl 5.28 rebuild
45a937
45a937
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-18
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
45a937
45a937
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-17
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
45a937
45a937
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-16
45a937
- Perl 5.26 rebuild
45a937
45a937
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-15
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
45a937
45a937
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-14
45a937
- Perl 5.24 rebuild
45a937
45a937
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-13
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
45a937
45a937
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-12
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
45a937
45a937
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-11
45a937
- Perl 5.22 rebuild
45a937
45a937
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-10
45a937
- Perl 5.20 rebuild
45a937
45a937
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-9
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
45a937
45a937
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-8
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
45a937
45a937
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 6.02-7
45a937
- Fix the dependency list
45a937
45a937
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 6.02-6
45a937
- Perl 5.18 rebuild
45a937
45a937
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
45a937
45a937
* Tue Nov 13 2012 Petr Šabata <contyk@redhat.com> - 6.02-4
45a937
- Modernize the spec, drop command macros
45a937
45a937
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-3
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
45a937
45a937
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 6.02-2
45a937
- Perl 5.16 rebuild
45a937
45a937
* Mon Apr 02 2012 Petr Pisar <ppisar@redhat.com> - 6.02-1
45a937
- 6.02 bump
45a937
45a937
* Thu Feb 16 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1
45a937
- 6.01 bump
45a937
45a937
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-3
45a937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
45a937
45a937
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2
45a937
- Perl mass rebuild
45a937
45a937
* Wed Mar 16 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
45a937
- Specfile autogenerated by cpanspec 1.78.
45a937
- Remove BuildRoot stuff
45a937
- Conflict with perl-libwww-perl-5* and older