15
0
2022-02-24 06:32:33 +00:00
committed by Git OBS Bridge
parent d34dbc796d
commit 924422390d
2 changed files with 14 additions and 11 deletions

View File

@@ -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