From 924422390de0c735e539a42d98443e2cb9afc8a2ebf539253d003cb2898e732d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 24 Feb 2022 06:32:33 +0000 Subject: [PATCH] - Fix package names. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=2 --- python-dmidecode.changes | 5 +++++ python-dmidecode.spec | 20 +++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/python-dmidecode.changes b/python-dmidecode.changes index 39fdabf..504b5e7 100644 --- a/python-dmidecode.changes +++ b/python-dmidecode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 24 06:32:14 UTC 2022 - Matej Cepl + +- Fix package names. + ------------------------------------------------------------------- Sat Dec 04 00:01:25 UTC 2021 - mcepl@cepl.eu diff --git a/python-dmidecode.spec b/python-dmidecode.spec index eb6c09a..6f037e1 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -1,7 +1,7 @@ # -# spec file for package python-dmidecode +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define python_subpackage_only 1 +%define oldpython python -Name: python-dmidecode +Name: %{oldpython}-dmidecode Version: 3.12.2+git.1625035095.f0a089a Release: 0 Summary: Python module to access DMI data @@ -45,17 +46,14 @@ python-dmidecode is a python extension module that uses the code-base of the 'dmidecode' utility, and presents the data as python data structures or as XML data using libxml2. - %package -n python-python-dmidecode -Summary: Python 3 module to access DMI data -Requires: %{name} = %{version}-%{release} -Requires: python-dmidecode +Summary: Python module to access DMI data +Requires: %{oldpython}-dmidecode = %{version}-%{release} %description -n python-python-dmidecode -python3-dmidecode is a Python 3 extension module that uses the -code-base of the 'dmidecode' utility, and presents the data -as Python 3 data structures or as XML data using libxml2. - +A Python extension module that uses the code-base of the +'dmidecode' utility, and presents the data as Python data +structures or as XML data using libxml2. %prep %autosetup -p1