diff --git a/libwebsockets.spec b/libwebsockets.spec index cf379316433f01be2e0522e054ca6a6ffcfc63e6..28669b9ac791e4904148adbfb0a32fda6ec5b3e5 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,6 +1,6 @@ Name: libwebsockets Version: 4.3.3 -Release: 2 +Release: 3 Summary: A lightweight C library for Websockets License: LGPLv2 and Public Domain and BSD and MIT and zlib URL: https://libwebsockets.org @@ -35,8 +35,6 @@ This package contains the header files needed for developing %autosetup -n %{name}-%{version} -p1 %build -mkdir -p build -cd build %cmake \ -D LWS_WITH_HTTP2=ON \ -D LWS_IPV6=ON \ @@ -65,28 +63,20 @@ cd build -D LWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \ -D LWS_WITHOUT_TEST_PING=ON \ -D LWS_WITHOUT_TEST_CLIENT=ON \ - -D LWS_WITHOUT_EXTENSIONS=OFF \ - .. + -D LWS_WITHOUT_EXTENSIONS=OFF -%make_build +%cmake_build %install -cd build -%make_install - -%delete_la_and_a +%cmake_install find %{buildroot} -name '*.cmake' -exec rm -f {} ';' find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' -%ldconfig_scriptlets - %files -%defattr(-,root,root) %license LICENSE %{_libdir}/%{name}.so.* %files devel -%defattr(-,root,root) %{_includedir}/*.h %{_includedir}/%{name} %{_libdir}/*.so @@ -96,10 +86,12 @@ find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' %files help -%defattr(-,root,root) %doc changelog README.md READMEs/ %changelog +* Mon Nov 18 2024 Funda Wang - 4.3.3-3 +- adopt to new cmake macro + * Tue Aug 27 2024 liuxu - 4.3.3-2 - Type:bugfix - ID:NA