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