Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-dmidecode for
openSUSE:Factory checked in at 2022-02-25 21:25:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dmidecode (Old)
and /work/SRC/openSUSE:Factory/.python-dmidecode.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dmidecode"
Fri Feb 25 21:25:03 2022 rev:2 rq:957595 version:3.12.2+git.1625035095.f0a089a
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dmidecode/python-dmidecode.changes
2022-02-24 18:24:11.650646903 +0100
+++
/work/SRC/openSUSE:Factory/.python-dmidecode.new.1958/python-dmidecode.changes
2022-02-25 21:25:32.675643370 +0100
@@ -1,0 +2,5 @@
+Thu Feb 24 22:57:21 UTC 2022 - Matej Cepl <[email protected]>
+
+- Cleanup multi-version builds.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.FHMyNZ/_old 2022-02-25 21:25:33.331643487 +0100
+++ /var/tmp/diff_new_pack.FHMyNZ/_new 2022-02-25 21:25:33.335643488 +0100
@@ -36,7 +36,13 @@
# use sys.version_info instead of sys.version
Patch3: 31-version_info-v-version.patch
BuildRequires: %{python_module devel}
+%if 0%{?sle_version} && 0%{?sle_version} < 150400
+BuildRequires: %{oldpython}-libxml2-python
+BuildRequires: %{oldpython}3-libxml2-python
+%else
BuildRequires: %{python_module libxml2}
+%endif
+BuildRequires: fdupes
BuildRequires: libxml2-devel
BuildRequires: python-rpm-macros
%python_subpackages
@@ -66,7 +72,9 @@
}
%install
-%python_expand $python src/setup.py install --root %{buildroot}
--prefix=%{_prefix}
+%{python_expand $python src/setup.py install --root %{buildroot}
--prefix=%{_prefix}
+%fdupes %{buildroot}%{$python_sitearch}
+}
%check
pushd unit-tests
@@ -75,9 +83,12 @@
}
popd
+%clean
+
%files
%license doc/LICENSE
%doc README doc/README.upstream doc/AUTHORS doc/AUTHORS.upstream
+%dir %{_datadir}/python-dmidecode/
%{_datadir}/python-dmidecode/
%files %{python_files python-dmidecode}