From b932c37cffd46e82704d0079b865a4bbad5dc1e9825888f7352434f646f9c9eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 11 Apr 2019 07:58:52 +0000 Subject: [PATCH] Accepting request 693025 from home:jayvdb:branches:devel:languages:python - Remove unnecessary bcond tests - Add missing test dependency pkgconfig - Fix the test suite which was running 0 tests OBS-URL: https://build.opensuse.org/request/show/693025 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkgconfig?expand=0&rev=12 --- python-pkgconfig.changes | 7 +++++++ python-pkgconfig.spec | 11 +++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/python-pkgconfig.changes b/python-pkgconfig.changes index 9db00e2..4145156 100644 --- a/python-pkgconfig.changes +++ b/python-pkgconfig.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 11 02:38:27 UTC 2019 - John Vandenberg + +- Remove unnecessary bcond tests +- Add missing test dependency pkgconfig +- Fix the test suite which was running 0 tests + ------------------------------------------------------------------- Tue Dec 4 12:51:34 UTC 2018 - Matej Cepl diff --git a/python-pkgconfig.spec b/python-pkgconfig.spec index 7eab15d..a104734 100644 --- a/python-pkgconfig.spec +++ b/python-pkgconfig.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without tests Name: python-pkgconfig Version: 1.3.1 Release: 0 @@ -26,15 +25,13 @@ License: MIT Group: Development/Languages/Python URL: http://github.com/matze/pkgconfig Source: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: pkgconfig BuildRequires: python-rpm-macros Requires: pkgconfig BuildArch: noarch -%if %{with tests} -# Test requirements -BuildRequires: %{python_module nose} -%endif %python_subpackages %description @@ -51,10 +48,8 @@ command line tool and supports Python 2.6+. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check -%python_exec setup.py test -%endif +%python_exec -m nose test.py %files %{python_files} %license LICENSE