Accepting request 729104 from X11:Wayland

- Bump SOVER as needed. (missed during Aug 21 update)

OBS-URL: https://build.opensuse.org/request/show/729104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2019-09-11 08:24:02 +00:00 committed by Git OBS Bridge
commit 85f8da0430
3 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 7 15:57:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Bump SOVER as needed.
-------------------------------------------------------------------
Wed Aug 21 07:23:09 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,8 +16,9 @@
#
# lname needs a bump for every change in commit (_service)
%define version_unconverted 7.12.3352
%define lname libglslang-suse6
%define lname libglslang-suse7
Name: glslang
Version: 7.12.3352
@ -93,7 +94,7 @@ cp build/StandAlone/libglslang-default-resource-limits.so "$b/%_libdir/"
%files -n %lname
%defattr(-,root,root)
%_libdir/*.so.suse6*
%_libdir/*.so.suse7*
%files devel
%defattr(-,root,root)

View File

@ -26,14 +26,14 @@ Index: glslang-7.9.2933.g33/SPIRV/CMakeLists.txt
endif(ENABLE_NV_EXTENSIONS)
add_library(SPIRV ${LIB_TYPE} ${SOURCES} ${HEADERS})
+set_target_properties(SPIRV PROPERTIES SOVERSION suse6)
+set_target_properties(SPIRV PROPERTIES SOVERSION suse7)
set_property(TARGET SPIRV PROPERTY FOLDER glslang)
set_property(TARGET SPIRV PROPERTY POSITION_INDEPENDENT_CODE ON)
target_include_directories(SPIRV PUBLIC ..)
if (ENABLE_SPVREMAPPER)
add_library(SPVRemapper ${LIB_TYPE} ${SPVREMAP_SOURCES} ${SPVREMAP_HEADERS})
+ set_target_properties(SPVRemapper PROPERTIES SOVERSION suse6)
+ set_target_properties(SPVRemapper PROPERTIES SOVERSION suse7)
set_property(TARGET SPVRemapper PROPERTY FOLDER glslang)
set_property(TARGET SPVRemapper PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
@ -44,7 +44,7 @@ Index: glslang-7.9.2933.g33/StandAlone/CMakeLists.txt
@@ -1,5 +1,6 @@
add_library(glslang-default-resource-limits
${CMAKE_CURRENT_SOURCE_DIR}/ResourceLimits.cpp)
+set_target_properties(glslang-default-resource-limits PROPERTIES SOVERSION suse6)
+set_target_properties(glslang-default-resource-limits PROPERTIES SOVERSION suse7)
set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang)
set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON)
@ -56,7 +56,7 @@ Index: glslang-7.9.2933.g33/glslang/CMakeLists.txt
glslang_pch(SOURCES MachineIndependent/pch.cpp)
add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${HEADERS})
+set_target_properties(glslang PROPERTIES SOVERSION suse6)
+set_target_properties(glslang PROPERTIES SOVERSION suse7)
set_property(TARGET glslang PROPERTY FOLDER glslang)
set_property(TARGET glslang PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_libraries(glslang OGLCompiler OSDependent)
@ -68,7 +68,7 @@ Index: glslang-7.9.2933.g33/hlsl/CMakeLists.txt
glslang_pch(SOURCES pch.cpp)
add_library(HLSL ${LIB_TYPE} ${SOURCES} ${HEADERS})
+set_target_properties(HLSL PROPERTIES SOVERSION suse6)
+set_target_properties(HLSL PROPERTIES SOVERSION suse7)
set_property(TARGET HLSL PROPERTY FOLDER hlsl)
set_property(TARGET HLSL PROPERTY POSITION_INDEPENDENT_CODE ON)