forked from pool/python-iniparse
- Fix BR: it is %{python_module devel} not python2-devel.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniparse?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 2 14:26:46 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Fix BR: it is %{python_module devel} not python2-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 29 22:26:41 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-iniparse
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2017 Neal Gompa <ngompa13@gmail.com>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -32,7 +32,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: python-rpm-macros
|
||||
# python2-devel contains test module, even for noarch package
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: %{python_module devel}
|
||||
# tests require testsuite modules
|
||||
BuildRequires: %{python_module testsuite}
|
||||
Requires: python-six
|
||||
@@ -60,7 +60,7 @@ sed -i "/.*test_multiprocessing.*/d" tests/__init__.py # NOTE(saschpe): Doesn't
|
||||
rm -rf %{buildroot}%{_datadir}/doc/iniparse-%{version} # Remove unwanted stuff
|
||||
|
||||
%check
|
||||
%python_exec runtests.py
|
||||
%python_exec runtests.py -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user