File libwebsockets-norpmtools.patch of Package libwebsockets
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -1182,11 +1182,6 @@ set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SO
# Most people are more used to "make dist" compared to "make package_source"
add_custom_target(dist COMMAND "${CMAKE_MAKE_PROGRAM}" package_source)
-include(UseRPMTools)
-if (RPMTools_FOUND)
- RPMTools_ADD_RPM_TARGETS(libwebsockets libwebsockets.spec)
-endif()
-
message("---------------------------------------------------------------------")
message(" Settings: (For more help do cmake -LH <srcpath>)")
message("---------------------------------------------------------------------")