diff --git a/0001-add-secure-compile-option-in-Makefile.patch b/0001-add-secure-compile-option-in-Makefile.patch index e6de4e8..5c93313 100644 --- a/0001-add-secure-compile-option-in-Makefile.patch +++ b/0001-add-secure-compile-option-in-Makefile.patch @@ -1,14 +1,13 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index c62d7f9..b046e90 100644 +index f3d3433..2b9ffec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -344,6 +344,8 @@ set(LWS_LIBRARY_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH}) +@@ -353,6 +353,7 @@ set(LWS_LIBRARY_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH}) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") - +set(CMAKE_C_FLAGS "-Wl,-z,now ${CMAKE_C_FLAGS}") -+ + message(STATUS "CMAKE_TOOLCHAIN_FILE='${CMAKE_TOOLCHAIN_FILE}'") - if(WIN32) diff --git a/libwebsockets-4.0.1.tar.gz b/libwebsockets-4.0.20.tar.gz similarity index 70% rename from libwebsockets-4.0.1.tar.gz rename to libwebsockets-4.0.20.tar.gz index 1c7e2e4..df256e2 100644 Binary files a/libwebsockets-4.0.1.tar.gz and b/libwebsockets-4.0.20.tar.gz differ diff --git a/libwebsockets.spec b/libwebsockets.spec index 2521770..337ec02 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,5 +1,5 @@ Name: libwebsockets -Version: 4.0.1 +Version: 4.0.20 Release: 1 Summary: A lightweight C library for Websockets License: LGPLv2 and Public Domain and BSD and MIT and zlib @@ -70,7 +70,7 @@ cd build cd build %make_install -cp -a %{_libdir}/libwebsockets.so.12* %{buildroot}%{_libdir} +cp -a %{_libdir}/libwebsockets.so.16* %{buildroot}%{_libdir} %delete_la_and_a find %{buildroot} -name '*.cmake' -exec rm -f {} ';' @@ -98,6 +98,12 @@ find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' %doc changelog README.md READMEs/ %changelog +* Wed Jul 29 2020 - 4.0.20-1 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:update to 4.0.20 + * Tue Jun 9 2020 zhujunhao - 4.0.1-1 - Type:requirement - ID:NA