From 40d309bad0e0fd275e5d6aca96fda556cb9b395e Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Tue, 25 May 2021 15:24:14 +0800 Subject: [PATCH] Deleted the use of Python2 to run testcases --- createrepo_c.spec | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/createrepo_c.spec b/createrepo_c.spec index edcf31c..9a438d2 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -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 - 0.16.0-2 +- Deleted the use of Python2 to run testcases + * Mon Aug 3 2020 openEuler Buildteam - 0.16.0-1 - Update software to v0.16.0 -- Gitee