forked from pool/python-titlecase
Accepting request 862924 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-titlecase?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 14:28:10 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- do not nose, but %pytest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 24 08:17:11 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri Jul 24 08:17:11 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-titlecase
|
# spec file for package python-titlecase
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -34,7 +34,7 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module nose >= 1.0}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix} titlecase.tests
|
%pytest titlecase/tests.py
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative titlecase
|
%python_install_alternative titlecase
|
||||||
|
Reference in New Issue
Block a user