diff --git a/perl-HTTP-BrowserDetect.spec b/perl-HTTP-BrowserDetect.spec index ff38394..2022133 100644 --- a/perl-HTTP-BrowserDetect.spec +++ b/perl-HTTP-BrowserDetect.spec @@ -1,23 +1,26 @@ Name: perl-HTTP-BrowserDetect Summary: Determine the Web browser, version, and platform from an HTTP user agent string -Version: 3.14 -Release: 4%{?dist} +Version: 3.16 +Release: 1%{?dist} License: GPL+ or Artistic URL: http://search.cpan.org/dist/HTTP-BrowserDetect/ Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-BrowserDetect-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils +BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(Module::Build) >= 0.28 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(vars) # Tests only +BuildRequires: perl(File::Spec) BuildRequires: perl(FindBin) BuildRequires: perl(JSON::PP) +BuildRequires: perl(List::Util) BuildRequires: perl(Path::Tiny) # XXX: BuildRequires: perl(Test::Code::TidyAll) >= 0.24 # XXX: BuildRequires: perl(Test::CPAN::Changes) @@ -39,15 +42,15 @@ at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html. chmod -c -x lib/HTTP/BrowserDetect.pm %build -perl Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} %install -./Build install destdir=%{buildroot} create_packlist=0 +make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} %{buildroot} %check -./Build test +make test %files %license LICENSE @@ -56,6 +59,10 @@ perl Build.PL installdirs=vendor %{_mandir}/man3/* %changelog +* Sun Dec 17 2017 Emmanuel Seyman - 3.16-1 +- Update to 3.16 +- Switch to Makefile.PL as a build-system + * Thu Jul 27 2017 Fedora Release Engineering - 3.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 02b9ba9..f53c7fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -803197ebae92f2c5010a860dedbff982 HTTP-BrowserDetect-3.14.tar.gz +SHA512 (HTTP-BrowserDetect-3.16.tar.gz) = bf147e62646cfb7a3b483c99aaf117f6c3489d0f398843e4f5cf376928de3dd1c25bc9c414fe19473c266f91823965f28ea35681a26eb3ae30b452d78f24bda6