forked from pool/python-user-agents
Accepting request 693669 from home:mcalabkova:branches:devel:languages:python
- update to version 2.0 * python-user-agents now require ua-parser>=0.8.0. OBS-URL: https://build.opensuse.org/request/show/693669 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-user-agents?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
21aac0a87e
commit
6fb90c5741
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-user-agents
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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,13 +12,13 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-user-agents
|
||||
Version: 1.1.0
|
||||
Version: 2.0
|
||||
Release: 0
|
||||
Summary: A library to identify device capabilities (phones, tablets)
|
||||
License: MIT
|
||||
@@ -27,11 +27,11 @@ URL: https://github.com/selwin/python-user-agents
|
||||
Source: https://github.com/selwin/python-user-agents/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module ua-parser}
|
||||
BuildRequires: %{python_module ua-parser >= 0.8.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-ua-parser
|
||||
Requires: python-ua-parser >= 0.8.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -51,7 +51,6 @@ strings.
|
||||
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# 5 known failures in tests
|
||||
%python_expand $python -m unittest discover ||:
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user