forked from pool/python-requests-file
Accepting request 897195 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/897195 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-file?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 3 12:11:33 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- %check: use %pyunittest rpm macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 3 10:42:35 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Mon Aug 3 10:42:35 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requests-file
|
# spec file for package python-requests-file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without tests
|
|
||||||
Name: python-requests-file
|
Name: python-requests-file
|
||||||
Version: 1.5.1
|
Version: 1.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -48,10 +47,8 @@ library to allow local filesystem access via file:// URLs.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m unittest discover tests
|
%pyunittest discover -v tests
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user