delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 22:25:44 +08:00
parent 46cba4e873
commit 7a7507bd43
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,7 +1,7 @@
%bcond_with java
Name: capstone
Version: 4.0.2
Release: 3
Release: 4
Summary: A lightweight multi-platform, multi-architecture disassembly framework
License: BSD
URL: http://www.capstone-engine.org/
@ -10,7 +10,7 @@ Source0: https://github.com/aquynh/%{name}/archive/%{version}.tar.gz
%global with_python3 1
BuildRequires: gcc git capstone
BuildRequires: gcc capstone
%if 0%{with java}
Buildrequires: jna java-devel
@ -55,7 +55,7 @@ This package contains java bindings for %{name}.
%endif
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
DESTDIR="%{buildroot}" V=1 CFLAGS="%{optflags}" \
@ -127,6 +127,9 @@ install -D -p -m 0644 bindings/java/%{name}.jar %{buildroot}/%{_javadir}/%{name
%endif
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.0.2-4
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Sat Mar 20 2021 shenyangyang<shenyangyang4@huawei.com> - 4.0.2-3
- DESC:Delete unneeded so for bumping version