!9 capstone delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
3e381f08ac
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user