!39 enable make check

From: @yang_zhuang_zhuang
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-05-24 10:07:43 +08:00 committed by Gitee
commit 34f8975d64

View File

@ -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 <yangzhuangzhuang1@huawei.com> - 19.4-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:enable make check
* Wed Dec 9 2020 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 19.4-2
- Type:bugfix
- ID:CVE-2020-8631 CVE-2020-8632