!15 删除使用python2跑用例

From: @yang_zhuang_zhuang
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-05-25 17:06:48 +08:00 committed by Gitee
commit 90015fc21b

View File

@ -39,7 +39,7 @@
Summary: Creates a common metadata repository
Name: createrepo_c
Version: 0.16.0
Release: 1
Release: 2
License: GPLv2+
URL: https://github.com/rpm-software-management/createrepo_c
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
@ -166,18 +166,6 @@ popd
%endif
%check
%if %{with python2}
pushd build-py2
%if %{without python3}
# Compile C tests
make tests
%endif
# Run Python 2 tests
make ARGS="-V" test
popd
%endif
# Run Python 3 tests
%if %{with python3}
pushd build-py3
@ -262,6 +250,9 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
%endif
%changelog
* Tue May 25 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 0.16.0-2
- Deleted the use of Python2 to run testcases
* Mon Aug 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16.0-1
- Update software to v0.16.0