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
This commit is contained in:
parent
ad3f80b232
commit
b932c37cff
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 02:38:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user