#3 17.31.32-2: Add patch to set soversion for libzypp-tui library
Merged a month ago by ngompa. Opened a month ago by daandemeyer.
rpms/ daandemeyer/libzypp fix  into  rawhide

@@ -0,0 +1,13 @@ 

+ diff --git a/zypp-tui/CMakeLists.txt b/zypp-tui/CMakeLists.txt

+ index eb94fa6..b2ec55f 100644

+ --- a/zypp-tui/CMakeLists.txt

+ +++ b/zypp-tui/CMakeLists.txt

+ @@ -65,6 +65,8 @@ SET ( zypp_SRCS

+  )

+  

+  ADD_LIBRARY( zypp-tui ${zypp_SRCS} ${zypp_HEADERS} )

+ +SET_TARGET_PROPERTIES( zypp-tui PROPERTIES VERSION "${LIBZYPP_VERSION_INFO}" )

+ +SET_TARGET_PROPERTIES( zypp-tui PROPERTIES SOVERSION "0.n.${LIBZYPP_SOVERSION_INFO}" )

+  add_dependencies( zypp-tui zypp-core )

+  

+  set_target_properties( zypp-tui PROPERTIES COMPILE_FLAGS "-ffat-lto-objects")

file modified
+5 -1
@@ -11,7 +11,7 @@ 

  

  Name:           libzypp

  Version:        17.31.32

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        A package management library

  

  License:        GPLv2+
@@ -25,6 +25,7 @@ 

  # Fedora specific patches

  ## Fix include paths for fcgi headers

  Patch1001:      libzypp-17.23.1-fix-fcgi-header-paths.patch

+ Patch1002:      libzypp-17.31.32-set-soversion-for-libzypp-tui.patch

  

  BuildRequires:  %{_bindir}/asciidoctor

  BuildRequires:  %{_bindir}/xsltproc
@@ -239,6 +240,9 @@ 

  

  

  %changelog

+ * Fri Apr 12 2024 Daan De Meyer <daan.j.demeyer@gmail.com> - 17.31.32-2

+ - Add patch to set soversion for libzypp-tui shared library

+ 

  * Mon Mar 04 2024 Neal Gompa <ngompa@fedoraproject.org> - 17.31.32-1

  - Update to 17.31.32

  

This ensures that the libzypp-tui library is set up like a regular
library, such that the actual library has a soversion for zypper
to link against, rather than using the unversioned library name
that causes the development packages to be installed at runtime.

Pull-Request has been merged by ngompa

a month ago