!2 perl-HTTP-Date

Merge pull request !2 from xinghe/master
This commit is contained in:
openeuler-ci-bot 2020-07-23 22:25:51 +08:00 committed by Gitee
commit 91528e7885
3 changed files with 12 additions and 8 deletions

Binary file not shown.

BIN
HTTP-Date-6.05.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +1,17 @@
Name: perl-HTTP-Date Name: perl-HTTP-Date
Version: 6.02 Version: 6.05
Release: 21 Release: 1
Summary: Date conversion routines Summary: Date conversion routines
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: https://metacpan.org/release/HTTP-Date URL: https://metacpan.org/release/HTTP-Date
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Date-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) perl(Exporter) perl(Time::Local) perl(vars) perl(Test) BuildRequires: perl(strict) perl(Exporter) perl(Time::Local) perl(vars) perl(Test)
BuildRequires: perl(:VERSION) >= 5.6.2 perl(warnings) perl(blib) perl(File::Spec) perl(IO::Handle) perl(IPC::Open3) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Time::Zone) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Time::Zone) perl(Time::Local) >= 1.28
Conflicts: perl-libwww-perl < 6 Conflicts: perl-libwww-perl < 6
%description %description
@ -28,25 +29,28 @@ Documentation for perl-HTTP-Date.
%autosetup -n HTTP-Date-%{version} -p1 %autosetup -n HTTP-Date-%{version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build %make_build
%install %install
make pure_install DESTDIR=%{buildroot} %{make_install}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test
%files %files
%license LICENSE
%{perl_vendorlib}/* %{perl_vendorlib}/*
%exclude %{_libdir}/perl5/perllocal.pod %exclude %{_libdir}/perl5/perllocal.pod
%files help %files help
%doc Changes README %doc Changes CONTRIBUTORS README.md
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 6.05-1
- update version to 6.05
* Wed Oct 23 2019 Zaiwang Li <lizaiwang1@huawei.com> - 6.02-21 * Wed Oct 23 2019 Zaiwang Li <lizaiwang1@huawei.com> - 6.02-21
- Init Package. - Init Package.