delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:32:00 +08:00
parent 7d01ffce57
commit 18403c25f6
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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