1649c2
Name:           perl-HTTP-Tiny
1649c2
Version:        0.078
1649c2
Release:        1%{?dist}
1649c2
Summary:        Small, simple, correct HTTP/1.1 client
1649c2
License:        GPL+ or Artistic
1649c2
URL:            https://metacpan.org/release/HTTP-Tiny
1649c2
Source0:        https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/HTTP-Tiny-%{version}.tar.gz
1649c2
# Check for write failure, bug #1031096, refused by upstream,
1649c2
# <https://github.com/chansen/p5-http-tiny/issues/32>
1649c2
Patch0:         HTTP-Tiny-0.070-Croak-on-failed-write-into-a-file.patch
1649c2
BuildArch:      noarch
1649c2
BuildRequires:  make
1649c2
BuildRequires:  perl-generators
1649c2
BuildRequires:  perl-interpreter
1649c2
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
1649c2
BuildRequires:  perl(strict)
1649c2
BuildRequires:  perl(warnings)
1649c2
# Run-time:
1649c2
BuildRequires:  perl(bytes)
1649c2
BuildRequires:  perl(Carp)
1649c2
BuildRequires:  perl(Errno)
1649c2
BuildRequires:  perl(Fcntl)
1649c2
BuildRequires:  perl(IO::Socket)
1649c2
# IO::Socket::IP 0.32 is optional
1649c2
# IO::Socket::SSL 1.56 is optional
1649c2
BuildRequires:  perl(MIME::Base64)
1649c2
# Mozilla::CA is optional
1649c2
# Net::SSLeay 1.49 is an optional fall-back for IO::Socket::SSL
1649c2
BuildRequires:  perl(Socket)
1649c2
BuildRequires:  perl(Time::Local)
1649c2
# Tests:
1649c2
# Data::Dumper not used
1649c2
BuildRequires:  perl(Exporter)
1649c2
BuildRequires:  perl(File::Basename) 
1649c2
BuildRequires:  perl(File::Spec)
1649c2
BuildRequires:  perl(File::Temp)
1649c2
BuildRequires:  perl(IO::Dir)
1649c2
BuildRequires:  perl(IO::File)
1649c2
BuildRequires:  perl(IO::Socket::INET)
1649c2
# IO::Socket::SSL 1.56 not needed
1649c2
BuildRequires:  perl(IPC::Cmd)
1649c2
BuildRequires:  perl(lib)
1649c2
# Mozilla::CA not needed
1649c2
# Net::SSLeay 1.49 not needed
1649c2
BuildRequires:  perl(open)
1649c2
BuildRequires:  perl(Test::More) >= 0.96
1649c2
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
1649c2
Requires:       perl(bytes)
1649c2
Requires:       perl(Carp)
1649c2
Requires:       perl(Fcntl)
1649c2
Recommends:     perl(IO::Socket::IP) >= 0.32
1649c2
Recommends:     perl(IO::Socket::SSL) >= 1.56
1649c2
Requires:       perl(MIME::Base64)
1649c2
Recommends:     perl(Mozilla::CA)
1649c2
Requires:       perl(Time::Local)
1649c2
1649c2
%description
1649c2
This is a very simple HTTP/1.1 client, designed for doing simple GET requests
1649c2
without the overhead of a large framework like LWP::UserAgent.
1649c2
1649c2
It is more correct and more complete than HTTP::Lite. It supports proxies
1649c2
(currently only non-authenticating ones) and redirection. It also correctly
1649c2
resumes after EINTR.
1649c2
1649c2
%prep
1649c2
%setup -q -n HTTP-Tiny-%{version}
1649c2
%patch0 -p1
1649c2
1649c2
%build
1649c2
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
1649c2
%{make_build}
1649c2
1649c2
%install
1649c2
%{make_install}
1649c2
%{_fixperms} '%{buildroot}'/*
1649c2
1649c2
%check
1649c2
make test
1649c2
1649c2
%files
1649c2
%license LICENSE
1649c2
%doc Changes CONTRIBUTING.mkdn eg README
1649c2
%{perl_vendorlib}/*
1649c2
%{_mandir}/man3/*
1649c2
1649c2
%changelog
1649c2
* Tue Aug 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.078-1
1649c2
- 0.078 bump
1649c2
1649c2
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.076-457
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1649c2
1649c2
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.076-456
1649c2
- Increase release to favour standalone package
1649c2
1649c2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.076-440
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1649c2
1649c2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.076-439
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1649c2
1649c2
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.076-438
1649c2
- Increase release to favour standalone package
1649c2
1649c2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.076-2
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1649c2
1649c2
* Mon Aug 06 2018 Petr Pisar <ppisar@redhat.com> - 0.076-1
1649c2
- 0.076 bump
1649c2
1649c2
* Tue Jul 31 2018 Petr Pisar <ppisar@redhat.com> - 0.074-1
1649c2
- 0.074 bump
1649c2
1649c2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.070-417
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1649c2
1649c2
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.070-416
1649c2
- Increase release to favour standalone package
1649c2
1649c2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.070-395
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1649c2
1649c2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.070-394
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1649c2
1649c2
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.070-393
1649c2
- Perl 5.26 rebuild
1649c2
1649c2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.070-2
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1649c2
1649c2
* Mon Oct 10 2016 Petr Pisar <ppisar@redhat.com> - 0.070-1
1649c2
- 0.070 bump
1649c2
1649c2
* Mon Sep 26 2016 Petr Pisar <ppisar@redhat.com> - 0.068-1
1649c2
- 0.068 bump
1649c2
1649c2
* Fri Sep 02 2016 Petr Pisar <ppisar@redhat.com> - 0.064-1
1649c2
- 0.064 bump
1649c2
1649c2
* Tue Aug 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.058-3
1649c2
- Avoid loading optional modules from default . (CVE-2016-1238)
1649c2
1649c2
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.058-2
1649c2
- Perl 5.24 rebuild
1649c2
1649c2
* Wed May 04 2016 Petr Pisar <ppisar@redhat.com> - 0.058-1
1649c2
- 0.058 bump
1649c2
1649c2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.056-4
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1649c2
1649c2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.056-3
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1649c2
1649c2
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.056-2
1649c2
- Perl 5.22 rebuild
1649c2
1649c2
* Tue May 19 2015 Petr Pisar <ppisar@redhat.com> - 0.056-1
1649c2
- 0.056 bump
1649c2
1649c2
* Mon Feb 02 2015 Petr Pisar <ppisar@redhat.com> - 0.054-1
1649c2
- 0.054 bump
1649c2
1649c2
* Mon Dec 15 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.053-1
1649c2
- 0.053 bump
1649c2
1649c2
* Fri Nov 21 2014 Petr Pisar <ppisar@redhat.com> - 0.051-1
1649c2
- 0.051 bump
1649c2
1649c2
* Wed Sep 24 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.050-1
1649c2
- 0.050 bump
1649c2
1649c2
* Wed Sep 10 2014 Petr Pisar <ppisar@redhat.com> - 0.049-1
1649c2
- 0.049 bump
1649c2
1649c2
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.048-2
1649c2
- Perl 5.20 rebuild
1649c2
1649c2
* Fri Aug 22 2014 Petr Pisar <ppisar@redhat.com> - 0.048-1
1649c2
- 0.048 bump
1649c2
1649c2
* Wed Jul 30 2014 Petr Pisar <ppisar@redhat.com> - 0.047-1
1649c2
- 0.047 bump
1649c2
1649c2
* Tue Jul 29 2014 Petr Pisar <ppisar@redhat.com> - 0.046-1
1649c2
- 0.046 bump
1649c2
1649c2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1649c2
1649c2
* Fri Feb 21 2014 Petr Pisar <ppisar@redhat.com> - 0.043-1
1649c2
- 0.043 bump
1649c2
1649c2
* Wed Feb 19 2014 Petr Pisar <ppisar@redhat.com> - 0.042-1
1649c2
- 0.042 bump
1649c2
1649c2
* Thu Nov 28 2013 Petr Pisar <ppisar@redhat.com> - 0.039-1
1649c2
- 0.039 bump
1649c2
1649c2
* Wed Nov 27 2013 Petr Pisar <ppisar@redhat.com> - 0.038-2
1649c2
- Croak on failed write into a file (bug #1031096)
1649c2
- Do not use already existing temporary files (bug #1031096)
1649c2
1649c2
* Tue Nov 19 2013 Petr Pisar <ppisar@redhat.com> - 0.038-1
1649c2
- 0.038 bump
1649c2
1649c2
* Tue Oct 29 2013 Petr Pisar <ppisar@redhat.com> - 0.037-1
1649c2
- 0.037 bump
1649c2
1649c2
* Thu Sep 26 2013 Petr Pisar <ppisar@redhat.com> - 0.036-1
1649c2
- 0.036 bump
1649c2
1649c2
* Wed Sep 11 2013 Petr Pisar <ppisar@redhat.com> - 0.035-1
1649c2
- 0.035 bump
1649c2
1649c2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.034-3
1649c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1649c2
1649c2
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.034-2
1649c2
- Link minimal build-root packages against libperl.so explicitly
1649c2
1649c2
* Mon Jul 01 2013 Petr Pisar <ppisar@redhat.com> - 0.034-1
1649c2
- 0.034 bump
1649c2
1649c2
* Mon Jun 24 2013 Petr Pisar <ppisar@redhat.com> - 0.033-1
1649c2
- 0.033 bump
1649c2
1649c2
* Fri Jun 21 2013 Petr Pisar <ppisar@redhat.com> - 0.032-1
1649c2
- 0.032 bump
1649c2
1649c2
* Thu Jun 20 2013 Petr Pisar <ppisar@redhat.com> - 0.031-1
1649c2
- 0.031 bump
1649c2
1649c2
* Fri Jun 14 2013 Petr Pisar <ppisar@redhat.com> - 0.030-1
1649c2
- 0.030 bump
1649c2
1649c2
* Thu Apr 18 2013 Petr Pisar <ppisar@redhat.com> - 0.029-1
1649c2
- 0.029 bump
1649c2
1649c2
* Fri Mar 15 2013 Petr Pisar <ppisar@redhat.com> 0.028-1
1649c2
- Specfile autogenerated by cpanspec 1.78.