- spec file changes:
* drop static library because everything that needs maintenance
patch is then vulnerable without rebuild (see bug that was just patched)
* drop Group since it was wrong anyway
* move runtime library to its won subpackage from executable
* switch to cmake
* update sover ourselves since upstream doesn't do this and
seems to break ABI between versions.
- c++11.patch: drop C++11 standard in favour of latest
- sover.patch: patch to update sover on version updates, generated
from sover.patch.in during setup
- squirrel-gcc47.patch: dropped, fixed upstream
- squirrel-autoconfiscate.patch: dropped, obsolete
- squirrel-config.cmake.in: add missing file
- squirrel.rpmlintrc: ignore EOL warnings in doc files
OBS-URL: https://build.opensuse.org/request/show/1073296
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/squirrel?expand=0&rev=25
13 lines
551 B
Diff
13 lines
551 B
Diff
Index: squirrel3/CMakeLists.txt
|
|
===================================================================
|
|
--- squirrel3.orig/CMakeLists.txt
|
|
+++ squirrel3/CMakeLists.txt
|
|
@@ -13,7 +13,6 @@ include(GNUInstallDirs)
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}")
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}")
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}")
|
|
-set(CMAKE_CXX_STANDARD 11)
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
|
add_compile_options(
|