From b91dcf82e16fe123c165999cf660c8ca778a6cd8 Mon Sep 17 00:00:00 2001 From: chenyanpanHW Date: Fri, 30 Jul 2021 23:30:56 +0800 Subject: [PATCH] delete -S git from %autosetup, and delete BuildRequires git --- python-stestr.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python-stestr.spec b/python-stestr.spec index 58e080b..cba7a88 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -2,7 +2,7 @@ Name: python-stestr Version: 3.0.1 -Release: 4 +Release: 5 Summary: A test runner runner similar to testrepository License: Apache-2.0 URL: http://stestr.readthedocs.io/en/latest/ @@ -17,7 +17,6 @@ stestr hard codes python-subunit-isms into how it works. %package -n python3-stestr Summary: A test runner runner similar to testrepository -BuildRequires: git BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr @@ -51,7 +50,7 @@ which enabled testr to work with any subunit emitting runner are gone. \ stestr hard codes python-subunit-isms into how it works. %prep -%autosetup -n stestr-%{version} -S git +%autosetup -n stestr-%{version} -p1 rm -rf stestr.egg-info rm -f test-requirements.txt requirements.txt sed -i 's/pbr>=2.0.0/pbr/g' setup.py @@ -77,6 +76,9 @@ PYTHON=%{__python3} %{__python3} setup.py test || : %{python3_sitelib}/stestr-*.egg-info %changelog +* Fri Jul 30 2021 chenyanpanHW - 3.0.1-5 +- DESC: delete -S git from %autosetup, and delete BuildRequires git + * Mon Dec 28 2020 liksh - 3.0.1-4 - Remove python2 support -- Gitee