Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-bootstrap for openSUSE:Factory checked in at 2021-05-02 18:36:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-bootstrap (Old) and /work/SRC/openSUSE:Factory/.virt-bootstrap.new.1947 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-bootstrap" Sun May 2 18:36:01 2021 rev:8 rq:889728 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-bootstrap/virt-bootstrap.changes 2020-04-16 23:04:14.319727399 +0200 +++ /work/SRC/openSUSE:Factory/.virt-bootstrap.new.1947/virt-bootstrap.changes 2021-05-02 18:39:08.408174636 +0200 @@ -1,0 +2,7 @@ +Fri Apr 30 19:15:06 UTC 2021 - Ben Greiner <[email protected]> + +- Only build python3 on Tumbleweed: python3-libguestfs is only + python3 flavor, too. +- Enable unit tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.bYeJgl/_old 2021-05-02 18:39:08.916172472 +0200 +++ /var/tmp/diff_new_pack.bYeJgl/_new 2021-05-02 18:39:08.920172454 +0200 @@ -1,7 +1,7 @@ # # spec file for package virt-bootstrap # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} +%if 0%{suse_version} >= 1550 +# python-libguestfs is python3 only +%define pythons python3 +%endif Name: virt-bootstrap Version: 1.1.1 Release: 0 @@ -35,7 +39,7 @@ Requires: virt-sandbox BuildArch: noarch Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 powerpc64le %python_subpackages @@ -45,6 +49,7 @@ %prep %setup -q +sed -i '1 {/env python/ d}' src/virtBootstrap/virt_bootstrap.py %build %python_build @@ -55,6 +60,9 @@ %python_clone -a %{buildroot}%{_mandir}/man1/virt-bootstrap.1 %fdupes %{buildroot}%{_prefix} +%check +%pyunittest -v + %post %python_install_alternative virt-bootstrap virt-bootstrap.1
