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