14
0

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:
2021-01-13 17:24:44 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 3 deletions

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,7 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module nose >= 1.0}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -57,7 +57,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand nosetests-%{$python_bin_suffix} titlecase.tests
%pytest titlecase/tests.py
%post
%python_install_alternative titlecase