8
0

Accepting request 647193 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/647193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-BrowserDetect?expand=0&rev=22
This commit is contained in:
2018-11-08 15:23:35 +00:00
committed by Git OBS Bridge
parent d4c8dd40f8
commit a3744bbc16
4 changed files with 32 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-BrowserDetect
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -12,24 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-HTTP-BrowserDetect
Version: 3.16
Version: 3.19
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+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTTP-BrowserDetect/
Url: https://metacpan.org/release/%{cpan_name}
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(Hash::Merge)
BuildRequires: perl(JSON::PP)
BuildRequires: perl(List::Util) >= 1.49
BuildRequires: perl(Path::Tiny)
@@ -51,10 +52,9 @@ http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check