diff --git a/capstone.spec b/capstone.spec index 5b54ce9..47aafbe 100644 --- a/capstone.spec +++ b/capstone.spec @@ -1,14 +1,12 @@ Name: capstone Version: 4.0.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A lightweight multi-platform, multi-architecture disassembly framework %global gituser aquynh %global gitname capstone # 4.0.1 release %global commit f9c6a90489be7b3637ff1c7298e45efafe7cf1b9 -# -#global commit 75c05281b4bc8e8c41a1ab7f91705401caa3832a %global shortcommit %(c=%{commit}; echo ${c:0:7}) License: BSD @@ -30,8 +28,7 @@ Patch1: 0001-Fix-include-path-in-pkg-config-for-Makefile-too-1339.patch %global common_desc %{expand: Capstone is a disassembly framework with the target of becoming the ultimate -disasm engine for binary analysis and reversing in the security community. -} +disasm engine for binary analysis and reversing in the security community.} %global with_python3 1 %bcond_with python2 @@ -88,7 +85,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description -n python2-capstone %{common_desc} -The %{name}-python package contains python bindings for %{name}. +The python2-capstone package contains python bindings for %{name}. %endif # _with_python3 @@ -105,7 +102,7 @@ Summary: Python3 bindings for %{name} %description -n python%{python3_pkgversion}-capstone %{common_desc} -The %{name}-python3 package contains python3 bindings for %{name}. +The python%{python3_pkgversion}-capstone package contains python3 bindings for %{name}. %endif # with_python3 @@ -128,7 +125,8 @@ The %{name}-java package contains java bindings for %{name}. %build -DESTDIR="%{buildroot}" V=1 CFLAGS="%{optflags}" \ +#DESTDIR="%{buildroot}" +V=1 CFLAGS="%{optflags}" \ LIBDIRARCH="%{_lib}" INCDIR="%{_includedir}" \ make PYTHON2=%{__python2} PYTHON3=%{__python3} %{?_smp_mflags} @@ -233,6 +231,10 @@ install -D -p -m 0644 bindings/java/%{name}.jar %{buildroot}/%{_javadir}/%{name %{_javadir}/ %changelog +* Thu Oct 10 2019 Michal Ambroz - 4.0.1-8 +- fix descriptions of sub-packages +- remove buildroot from the build phase + * Thu Oct 10 2019 Michal Ambroz - 4.0.1-7 - remove python2 from rawhide/fc32 package