diff --git a/HTTP-Daemon-6.01.tar.gz b/HTTP-Daemon-6.01.tar.gz deleted file mode 100644 index cafba6b..0000000 Binary files a/HTTP-Daemon-6.01.tar.gz and /dev/null differ diff --git a/HTTP-Daemon-6.12.tar.gz b/HTTP-Daemon-6.12.tar.gz new file mode 100644 index 0000000..63548d1 Binary files /dev/null and b/HTTP-Daemon-6.12.tar.gz differ diff --git a/perl-HTTP-Daemon.spec b/perl-HTTP-Daemon.spec index 24ec1bb..06c6410 100644 --- a/perl-HTTP-Daemon.spec +++ b/perl-HTTP-Daemon.spec @@ -1,16 +1,21 @@ 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,7 +23,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 @@ -49,24 +54,29 @@ 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 make test %files +%license LICENCE %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 +* Wed Jul 23 2020 xinghe - 6.12-1 +- update version to 6.12 + * Mon Jan 6 2020 duyeyu - 6.01-26 - Package init