From d4de7d80dbbb0667b7f4730aa82e40b677bfb60e Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Sat, 22 May 2021 16:45:21 +0800 Subject: [PATCH] enable make check --- cloud-init.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cloud-init.spec b/cloud-init.spec index feb2f70..17b115c 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -1,6 +1,6 @@ Name: cloud-init Version: 19.4 -Release: 2 +Release: 3 Summary: the defacto multi-distribution package that handles early initialization of a cloud instance. License: ASL 2.0 or GPLv3 URL: http://launchpad.net/cloud-init @@ -21,7 +21,7 @@ BuildRequires: iproute python3-configobj python3-httpretty >= 0.8.14-2 BuildRequires: python3-jinja2 python3-jsonpatch python3-jsonschema BuildRequires: python3-mock python3-nose python3-oauthlib python3-prettytable BuildRequires: python3-pyserial python3-PyYAML python3-requests python3-six -BuildRequires: python3-unittest2 dnf %{_vendor}-release +BuildRequires: python3-unittest2 dnf %{_vendor}-release passwd Requires: e2fsprogs iproute python3-libselinux net-tools python3-policycoreutils Requires: procps python3-configobj python3-jinja2 python3-jsonpatch xfsprogs @@ -59,7 +59,7 @@ install -D -m 0644 tools/21-cloudinit.conf %{buildroot}/%{_sysconfdir}/rsyslog.d rm -f $RPM_BUILD_DIR/%{name}-%{version}/tests/unittests/test_handler/test_handler_ntp.py rm -f $RPM_BUILD_DIR/%{name}-%{version}/tests/unittests/test_datasource/test_opennebula.py -#nosetests-%%{python3_version} tests/unittests/ +nosetests-%{python3_version} tests/unittests/ %pre @@ -121,6 +121,12 @@ fi %exclude /usr/share/doc/* %changelog +* Sat May 22 2021 yangzhuangzhuang - 19.4-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:enable make check + * Wed Dec 9 2020 yangzhuangzhuang - 19.4-2 - Type:bugfix - ID:CVE-2020-8631 CVE-2020-8632 -- Gitee