forked from pool/python-fake-useragent
Accepting request 919150 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/919150 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fake-useragent?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 15 10:31:22 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: note tests are online, do not run them
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 4 00:40:32 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fake-useragent
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -13,6 +13,7 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
@@ -21,15 +22,15 @@ Version: 0.1.11
|
||||
Release: 0
|
||||
License: Apache-2.0
|
||||
Summary: Useragent faker package for Python
|
||||
Url: https://github.com/hellysmile/fake-useragent
|
||||
URL: https://github.com/hellysmile/fake-useragent
|
||||
Group: Development/Languages/Python
|
||||
Source: https://github.com/hellysmile/fake-useragent/archive/%{version}.tar.gz#/fake-useragent-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -49,7 +50,8 @@ Useragent faker with real world database.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
# online tests
|
||||
#%%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user