update to 6.12

This commit is contained in:
sxt1001 2020-08-17 19:40:12 +08:00
parent 79b86a97f6
commit 5117db5ea1
3 changed files with 16 additions and 9 deletions

Binary file not shown.

BIN
HTTP-Daemon-6.12.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +1,20 @@
Name: perl-HTTP-Daemon
Version: 6.01
Release: 26
Version: 6.12
Release: 1
Summary: A simple http server class
License: Artistic-1.0 or GPL-1.0+
Url: http://search.cpan.org/dist/HTTP-Daemon/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz
Source: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-6.12.tar.gz
BuildArch: noarch
BuildRequires: perl(Test::More)
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(File::Spec)
BuildRequires: perl(HTTP::Tiny) >= 0.042
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::Needs)
Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Response) >= 6
@ -18,8 +22,7 @@ Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket)
Requires: perl(LWP::MediaTypes) >= 6
Requires: perl
Requires: perl(Sys::Hostname)
Requires: perl(IO::Socket::IP) >= 0.25
%description
Instances of the `HTTP::Daemon' class are HTTP/1.1 servers that listen
@ -49,11 +52,11 @@ Development headers and libraries for perl-HTTP-Daemon.
%autosetup -n HTTP-Daemon-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} %{buildroot}/*
%check
@ -61,12 +64,16 @@ make test
%files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/*
%files help
%doc Changes README
%doc Changes CONTRIBUTING README
%{_mandir}/man3/*
%changelog
* Mon Aug 17 2020 shixuantong <shixuantong@huawei.com> - 6.12-1
- update to 6.12
* Mon Jan 6 2020 duyeyu <duyeyu@huawei.com> - 6.01-26
- Package init