!15 删除使用python2跑用例
From: @yang_zhuang_zhuang Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
90015fc21b
@ -39,7 +39,7 @@
|
|||||||
Summary: Creates a common metadata repository
|
Summary: Creates a common metadata repository
|
||||||
Name: createrepo_c
|
Name: createrepo_c
|
||||||
Version: 0.16.0
|
Version: 0.16.0
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rpm-software-management/createrepo_c
|
URL: https://github.com/rpm-software-management/createrepo_c
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -166,18 +166,6 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%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
|
# Run Python 3 tests
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
pushd build-py3
|
pushd build-py3
|
||||||
@ -262,6 +250,9 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16.0-1
|
||||||
- Update software to v0.16.0
|
- Update software to v0.16.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user