[packages/capstone] up to 4.0.2

atler atler at pld-linux.org
Thu Jun 24 21:32:47 CEST 2021


commit 4c79359fafc9b72bbc7675a71a5c26573268d2fa
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jun 24 19:30:47 2021 +0000

    up to 4.0.2
    
    - lib suffix patch no longer necessary

 capstone-libsuffix.patch | 25 -------------------------
 capstone.spec            |  7 +++----
 2 files changed, 3 insertions(+), 29 deletions(-)
---
diff --git a/capstone.spec b/capstone.spec
index e8cf112..e7f2a11 100644
--- a/capstone.spec
+++ b/capstone.spec
@@ -5,15 +5,14 @@
 Summary:	Capstone engine - dissassembly framework
 Summary(pl.UTF-8):	Silnik Capstone - szkielet do disasemblacji
 Name:		capstone
-Version:	4.0.1
+Version:	4.0.2
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/aquynh/capstone/releases
 Source0:	https://github.com/aquynh/capstone/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	1b0a9a0d50d9515dcf7684ce0a2270a4
+# Source0-md5:	8894344c966a948f1248e66c91b53e2c
 Patch0:		%{name}-shared.patch
-Patch1:		%{name}-libsuffix.patch
 URL:		http://www.capstone-engine.org/
 BuildRequires:	cmake >= 2.6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -88,7 +87,7 @@ Biblioteka statyczna disasemblera Capstone.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+#%%patch1 -p1
 
 %build
 install -d build
diff --git a/capstone-libsuffix.patch b/capstone-libsuffix.patch
deleted file mode 100644
index 399ff4e..0000000
--- a/capstone-libsuffix.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- capstone-4.0.1/CMakeLists.txt.orig	2020-05-23 20:26:01.339972482 +0200
-+++ capstone-4.0.1/CMakeLists.txt	2020-05-23 20:31:02.661673415 +0200
-@@ -574,14 +574,7 @@
- source_group("Include\\M680X" FILES ${HEADERS_MC680X})
- source_group("Include\\EVM" FILES ${HEADERS_EVM})
- 
--### test library 64bit routine:
--get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
--
--if (NOT APPLE AND "${LIB64}" STREQUAL "TRUE")
--    set(LIBSUFFIX 64)
--else()
--    set(LIBSUFFIX "")
--endif()
-+set(LIBSUFFIX "${LIB_SUFFIX}")
- 
- set(INSTALL_LIB_DIR     lib${LIBSUFFIX} CACHE PATH "Installation directory for libraries")
- mark_as_advanced(INSTALL_LIB_DIR)
-@@ -603,5 +603,5 @@
- target_link_libraries(cstool ${default-target})
- 
- install(TARGETS cstool DESTINATION bin)
--install(FILES ${CMAKE_BINARY_DIR}/capstone.pc DESTINATION lib/pkgconfig)
-+install(FILES ${CMAKE_BINARY_DIR}/capstone.pc DESTINATION lib${LIBSUFFIX}/pkgconfig)
- endif ()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/capstone.git/commitdiff/13096ec35cb9bba8a62cc97893bf00460c7c6c6e



More information about the pld-cvs-commit mailing list