forked from pool/python-dmidecode
- Fix package names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user