Blame SPECS/perl-WWW-Curl.spec

080c79
Name:           perl-WWW-Curl
080c79
Version:        4.15
90d373
Release:        13%{?dist}
080c79
Summary:        Perl extension interface for libcurl
080c79
License:        MPLv1.1 or MIT
080c79
Group:          Development/Libraries
080c79
URL:            http://search.cpan.org/dist/WWW-Curl/
080c79
Source0:        http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz
080c79
080c79
BuildRequires:  perl
080c79
BuildRequires:  perl(inc::Module::Install)
080c79
BuildRequires:  perl(Carp)
080c79
BuildRequires:  perl(Exporter)
080c79
BuildRequires:  perl(ExtUtils::MakeMaker)
080c79
BuildRequires:  perl(File::Temp)
080c79
BuildRequires:  perl(lib)
080c79
BuildRequires:  perl(strict)
080c79
BuildRequires:  perl(Test::More)
080c79
# Test::Pod is optional
080c79
BuildRequires:  perl(warnings)
080c79
BuildRequires:  perl(XSLoader)
080c79
BuildRequires:  libcurl-devel
080c79
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
080c79
080c79
%{?perl_default_filter}
080c79
080c79
%description
080c79
WWW::Curl is a Perl extension interface for libcurl.
080c79
080c79
%prep
080c79
%setup -q -n WWW-Curl-%{version}
080c79
080c79
# Remove bundled modules
080c79
rm -rf inc/*
080c79
080c79
%build
080c79
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
080c79
make %{?_smp_mflags}
080c79
080c79
%install
080c79
make pure_install DESTDIR=$RPM_BUILD_ROOT
080c79
080c79
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
080c79
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
080c79
080c79
%{_fixperms} $RPM_BUILD_ROOT/*
080c79
080c79
%check
080c79
# These tests require network, use "--with network_tests" to execute them
080c79
%{?!_with_network_tests: rm t/01basic.t }
080c79
%{?!_with_network_tests: rm t/02callbacks.t }
080c79
%{?!_with_network_tests: rm t/04abort-test.t }
080c79
%{?!_with_network_tests: rm t/05progress.t }
080c79
%{?!_with_network_tests: rm t/08ssl.t }
080c79
%{?!_with_network_tests: rm t/09times.t }
080c79
%{?!_with_network_tests: rm t/14duphandle.t }
080c79
%{?!_with_network_tests: rm t/15duphandle-callback.t }
080c79
%{?!_with_network_tests: rm t/18twinhandles.t }
080c79
%{?!_with_network_tests: rm t/19multi.t }
080c79
%{?!_with_network_tests: rm t/21write-to-scalar.t }
080c79
make test
080c79
080c79
%files
080c79
%doc Changes LICENSE README
080c79
%{perl_vendorarch}/auto/*
080c79
%{perl_vendorarch}/WWW*
080c79
%{_mandir}/man3/*
080c79
080c79
%changelog
90d373
* Wed Apr 26 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-13
90d373
- Rebuild to fetch the symbol from curl for TLS > 1.0 (bug #1445309)
90d373
2fe165
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.15-12
2fe165
- Mass rebuild 2014-01-24
2fe165
2fe165
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.15-11
2fe165
- Mass rebuild 2013-12-27
2fe165
080c79
* Sun Jul 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-10
080c79
- Update dependencies
080c79
- Use DESTDIR rather than PERL_INSTALL_ROOT
080c79
- Remove buildroot cleaning
080c79
080c79
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-9
080c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
080c79
080c79
* Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-8
080c79
- Specify all dependencies
080c79
- Modernize spec file
080c79
080c79
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 4.15-7.1
080c79
- Rebuild for perl 5.16
080c79
080c79
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-7
080c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
080c79
080c79
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 4.15-6
080c79
- Perl 5.16 rebuild
080c79
080c79
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-5
080c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
080c79
080c79
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 4.15-4
080c79
- use perl_default_filter
080c79
080c79
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.15-3
080c79
- Perl mass rebuild
080c79
080c79
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-2
080c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
080c79
080c79
* Tue Nov 30 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.15-1
080c79
- Update to 4.15
080c79
* Thu Oct 28 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.14-1
080c79
- Update to 4.14
080c79
- Add a filter provide to avoid private-shared-object-provides error
080c79
* Sun Sep  5 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.13-1
080c79
- Update to 4.13
080c79
* Wed Aug 25 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.12-1
080c79
- Update to 4.12
080c79
* Thu Jun  3 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.11-3
080c79
- Remove test 19 because it requires network
080c79
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 4.11-2
080c79
- Mass rebuild with perl-5.12.0
080c79
* Fri Dec 18 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.11-1
080c79
- Update to 4.11
080c79
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 4.09-3
080c79
- rebuild against perl 5.10.1
080c79
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.09-2
080c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
080c79
* Sat Jul 11 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.09-1
080c79
- Rebuild for 4.09
080c79
* Mon Jun  1 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.07-1
080c79
- Rebuild for 4.07
080c79
* Sat Apr 18 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.06-1
080c79
- Step to 4.06
080c79
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.05-5
080c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
080c79
* Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-4
080c79
- Licence update
080c79
* Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-3
080c79
- README.Win32 file removed
080c79
* Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-2
080c79
- Timestamp preserved
080c79
- changelog format fix
080c79
- README.Win32 file removed
080c79
* Thu Dec 11 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-1
080c79
- Initial build with cpan2spec