forked from pool/perl-HTTP-BrowserDetect
Accepting request 556863 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/556863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-BrowserDetect?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
89c82929a9
commit
b4cea60dbd
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7d0e0153946ea8ef3c4105d2bda80ae3b88adc11967246a1cc8a56707bf4be98
|
|
||||||
size 95445
|
|
3
HTTP-BrowserDetect-3.15.tar.gz
Normal file
3
HTTP-BrowserDetect-3.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:58ad202778e9ca19e92bb9e4d41554476adafd701954aa1ab071c3df76b30799
|
||||||
|
size 111010
|
@@ -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
|
Sat May 28 09:57:34 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTTP-BrowserDetect
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,21 +17,20 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-HTTP-BrowserDetect
|
Name: perl-HTTP-BrowserDetect
|
||||||
Version: 3.14
|
Version: 3.15
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name HTTP-BrowserDetect
|
%define cpan_name HTTP-BrowserDetect
|
||||||
Summary: Determine Web browser, version, and platform from an HTTP user agent string
|
Summary: Determine Web browser, version, and platform from an HTTP user agent string
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/HTTP-BrowserDetect/
|
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
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(JSON::PP)
|
BuildRequires: perl(JSON::PP)
|
||||||
BuildRequires: perl(Module::Build) >= 0.280000
|
|
||||||
BuildRequires: perl(Path::Tiny)
|
BuildRequires: perl(Path::Tiny)
|
||||||
BuildRequires: perl(Test::FailWarnings)
|
BuildRequires: perl(Test::FailWarnings)
|
||||||
BuildRequires: perl(Test::Most)
|
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
|
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.
|
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
|
This module was originally based upon the JavaScript browser detection code
|
||||||
available at
|
available at
|
||||||
http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
|
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
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes CONTRIBUTORS LICENSE TODO
|
%doc Changes CONTRIBUTORS README.md TODO
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user