6.03 bump

This commit is contained in:
Petr Písař 2017-04-04 11:05:54 +02:00
parent 9b0b061342
commit 6636b5f6c8
3 changed files with 29 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/HTTP-Cookies-6.00.tar.gz
/HTTP-Cookies-6.01.tar.gz
/HTTP-Cookies-6.03.tar.gz

View File

@ -1,23 +1,36 @@
Name: perl-HTTP-Cookies
Version: 6.01
Release: 14%{?dist}
Version: 6.03
Release: 1%{?dist}
Summary: HTTP cookie jars
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTTP-Cookies/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Cookies-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Cookies-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(:VERSION) >= 5.8.1
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(HTTP::Date) >= 6
BuildRequires: perl(HTTP::Headers::Util) >= 6
# Tests only:
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(locale)
# Time::Local needed on MacOS only
BuildRequires: perl(vars)
# Win32 not supported
# Tests:
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(Test)
# Test::Code::TidyAll 0.24 not used
# Test::CPAN::Changes not used
BuildRequires: perl(Test::More)
BuildRequires: perl(URI)
# Time::Local needed on MacOS only
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Headers::Util) >= 6
Conflicts: perl-libwww-perl < 6
@ -26,7 +39,7 @@ Conflicts: perl-libwww-perl < 6
%filter_from_requires /^perl(HTTP::Date)\s*$/d
%filter_from_requires /^perl(HTTP::Headers::Util)\s*$/d
# One function of provided HTTP::Cookies::Microsoft works on Win32 only, other
# function do not need it. This keep the module, but remove dependency.
# function do not need it. We keep the module, but remove the dependency.
%filter_from_requires /^perl(Win32)/d
%filter_setup
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Win32|HTTP::Date|HTTP::Headers::Util\\)$
@ -41,23 +54,26 @@ knows about.
%setup -q -n HTTP-Cookies-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%license LICENSE
%doc Changes CONTRIBUTORS README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Apr 04 2017 Petr Pisar <ppisar@redhat.com> - 6.03-1
- 6.03 bump
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View File

@ -1 +1 @@
ecfd0eeb88512033352c2f13c9580f03 HTTP-Cookies-6.01.tar.gz
SHA512 (HTTP-Cookies-6.03.tar.gz) = 730cb63a2e21910929b0e43b8e34b9a2c259e12b4f2552f8382e95552fb50ead24c4865ca75e43dda6d38dfb0eaf417248aa7102a3b57d1404c24fb80ad8974f