!2 python-yappi delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-08-13 02:17:54 +00:00 committed by Gitee
commit 1c6827d530

View File

@ -1,13 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-yappi
Version: 1.3.2
Release: 1
Release: 2
Summary: Yet Another Python Profiler
License: MIT
URL: https://github.com/sumerc/yappi
Source0: https://files.pythonhosted.org/packages/4c/18/1b9387c7d3bf0d7aa54773ded7d286bcb8b04ec242404969f6656a385a11/yappi-1.3.2.tar.gz
BuildRequires: git
BuildRequires: gcc
%description
@ -26,7 +25,7 @@ Yappi, Yet Another Python Profiler, provides multithreading and cpu-time
support to profile python programs.
%prep
%autosetup -n yappi-%{version} -S git
%autosetup -n yappi-%{version} -p1
%build
%py3_build
@ -54,6 +53,9 @@ export PYTHONPATH=%{buildroot}/%{python3_sitearch}
%{_bindir}/yappi-3*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.3.2-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated