Deleted the use of Python2 to run testcases

This commit is contained in:
yang_zhuang_zhuang 2021-05-25 15:39:19 +08:00
parent 53bcb18857
commit ec6ab27328

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