From 335a55a0fc76d461e4722d89bfa2c569cbd93da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=B6=85=E8=B6=85?= Date: Fri, 19 Mar 2021 19:21:15 +0800 Subject: [PATCH] =?UTF-8?q?update=20capstone.spec.=20=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E5=AE=89=E5=85=A8=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E7=9A=84libcapstone.so.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- capstone.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/capstone.spec b/capstone.spec index 50ceedd..beb6644 100644 --- a/capstone.spec +++ b/capstone.spec @@ -1,7 +1,7 @@ %bcond_with java Name: capstone Version: 4.0.2 -Release: 2 +Release: 3 Summary: A lightweight multi-platform, multi-architecture disassembly framework License: BSD URL: http://www.capstone-engine.org/ @@ -83,6 +83,7 @@ popd %install DESTDIR=%{buildroot} LIBDIRARCH=%{_lib} \ INCDIR="%{_includedir}" make install + %delete_la_and_a cp -a %{_libdir}/libcapstone.so.3 %{buildroot}%{_libdir} @@ -96,6 +97,8 @@ popd install -D -p -m 0644 bindings/java/%{name}.jar %{buildroot}/%{_javadir}/%{name}.jar %endif +rm -rf %{buildroot}%{_libdir}/libcapstone.so.3 + %pre %preun @@ -128,6 +131,9 @@ install -D -p -m 0644 bindings/java/%{name}.jar %{buildroot}/%{_javadir}/%{name %endif %changelog +*Fri Mar 19 2021 wuchaochao - 4.0.2-3 +- DESC: remove libcapstone.so.3 + * Mon Feb 1 2021 wangjie - 4.0.2-2 - DESC:remove capstone-4.0.1.tar.gz and 0001-Fix-include-path-in-pkg-config-for-Makefile-too-1339.patch after upgrade 4.0.2 -- Gitee