From 3c6bb3270896fbf54c0341a587f0fd2888fe0e39c098d5001648413740ce480d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Mar 2022 14:26:55 +0000 Subject: [PATCH] - 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 --- python-iniparse.changes | 5 +++++ python-iniparse.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-iniparse.changes b/python-iniparse.changes index f26e9c3..4a0db90 100644 --- a/python-iniparse.changes +++ b/python-iniparse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 2 14:26:46 UTC 2022 - Matej Cepl + +- Fix BR: it is %{python_module devel} not python2-devel. + ------------------------------------------------------------------- Thu Oct 29 22:26:41 UTC 2020 - Benjamin Greiner diff --git a/python-iniparse.spec b/python-iniparse.spec index 9b98683..1e6d246 100644 --- a/python-iniparse.spec +++ b/python-iniparse.spec @@ -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 . # # 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