forked from pool/python-glob2
Accepting request 788594 from home:polslinux:branches:devel:languages:python
- Switch from nose to pytest OBS-URL: https://build.opensuse.org/request/show/788594 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glob2?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
5386fa693d
commit
1fdc3f29f6
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 13:54:35 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Switch from nose to pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 11:31:17 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-glob2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,7 +25,7 @@ License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pypi.python.org/pypi/glob2
|
||||
Source: https://files.pythonhosted.org/packages/source/g/glob2/glob2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -55,7 +55,7 @@ module with the following additions:
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py nosetests
|
||||
%pytest test.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user