Blame SPECS/perl-WWW-Curl.spec

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