forked from pool/python-dmidecode
Accepting request 1081388 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal OBS-URL: https://build.opensuse.org/request/show/1081388 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=30
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
%define oldpython python
|
||||
%define modname dmidecode
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-dmidecode
|
||||
Version: 3.12.3
|
||||
Release: 0
|
||||
@@ -94,6 +95,7 @@ PRIO=$(echo %{python_version}|tr -d '.')
|
||||
|
||||
%postun
|
||||
if [ ! -f %{_datadir}/python-dmidecode/pymap-%{python_bin_suffix}.xml ] ; then
|
||||
MAJVER=$(ver=%{python_version}; echo ${ver:0:1})
|
||||
%{_sbindir}/update-alternatives --remove pymap.xml \
|
||||
%{_datadir}/python-dmidecode/pymap-%{python_bin_suffix}.xml
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user