diff --git a/HTTP-BrowserDetect-3.14.tar.gz b/HTTP-BrowserDetect-3.14.tar.gz deleted file mode 100644 index 44367f7..0000000 --- a/HTTP-BrowserDetect-3.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d0e0153946ea8ef3c4105d2bda80ae3b88adc11967246a1cc8a56707bf4be98 -size 95445 diff --git a/HTTP-BrowserDetect-3.15.tar.gz b/HTTP-BrowserDetect-3.15.tar.gz new file mode 100644 index 0000000..14564a9 --- /dev/null +++ b/HTTP-BrowserDetect-3.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58ad202778e9ca19e92bb9e4d41554476adafd701954aa1ab071c3df76b30799 +size 111010 diff --git a/perl-HTTP-BrowserDetect.changes b/perl-HTTP-BrowserDetect.changes index 18c0350..20594af 100644 --- a/perl-HTTP-BrowserDetect.changes +++ b/perl-HTTP-BrowserDetect.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Dec 14 06:25:18 UTC 2017 - coolo@suse.com + +- updated to 3.15 + see /usr/share/doc/packages/perl-HTTP-BrowserDetect/Changes + + 3.15 2017-12-13 03:25:42Z + - Adds browserdetect.org to documentation + - Adds more bots to robot detection + - Adds robot_id(), which is currently in beta + ------------------------------------------------------------------- Sat May 28 09:57:34 UTC 2016 - coolo@suse.com diff --git a/perl-HTTP-BrowserDetect.spec b/perl-HTTP-BrowserDetect.spec index 4261936..551e6f1 100644 --- a/perl-HTTP-BrowserDetect.spec +++ b/perl-HTTP-BrowserDetect.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTTP-BrowserDetect # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,20 @@ Name: perl-HTTP-BrowserDetect -Version: 3.14 +Version: 3.15 Release: 0 %define cpan_name HTTP-BrowserDetect Summary: Determine Web browser, version, and platform from an HTTP user agent string License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTTP-BrowserDetect/ -Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(JSON::PP) -BuildRequires: perl(Module::Build) >= 0.280000 BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::FailWarnings) BuildRequires: perl(Test::Most) @@ -42,6 +41,9 @@ BuildRequires: perl(Test::NoWarnings) The HTTP::BrowserDetect object does a number of tests on an HTTP user agent string. The results of these tests are available via methods of the object. +For an online demonstration of this module's parsing, you can check out +http://www.browserdetect.org/ + This module was originally based upon the JavaScript browser detection code available at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html. @@ -51,18 +53,20 @@ http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html. find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=%{buildroot} create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTORS LICENSE TODO +%doc Changes CONTRIBUTORS README.md TODO +%license LICENSE %changelog