Accepting request 1243294 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1243294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libssh?expand=0&rev=75
This commit is contained in:
Ana Guerrero 2025-02-07 21:56:26 +00:00 committed by Git OBS Bridge
parent bdb9e32fee
commit 494988d0fd
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Feb 4 16:26:22 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not Require cmake from the devel package: there is no
requirement that consumers would be using cmake.
- Own %{_libdir}/cmake to not leave traces when uninstalling the
package and being the only one left installing files to that
directory.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 13 07:42:23 UTC 2024 - Pedro Monreal <pmonreal@suse.com> Fri Sep 13 07:42:23 UTC 2024 - Pedro Monreal <pmonreal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libssh # spec file for package libssh
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -89,7 +89,6 @@ Configuration files for the SSH library.
%package devel %package devel
Summary: SSH library development headers Summary: SSH library development headers
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: cmake
Requires: libssh4 = %{version} Requires: libssh4 = %{version}
%description devel %description devel
@ -158,6 +157,7 @@ sed -i '/^Include/ s|/usr/etc/crypto-policies|/etc/crypto-policies|' %{buildroot
%{_includedir}/libssh %{_includedir}/libssh
%{_libdir}/libssh.so %{_libdir}/libssh.so
%{_libdir}/pkgconfig/libssh.pc %{_libdir}/pkgconfig/libssh.pc
%dir %{_libdir}/cmake
%dir %{_libdir}/cmake/libssh %dir %{_libdir}/cmake/libssh
%{_libdir}/cmake/libssh/libssh-config.cmake %{_libdir}/cmake/libssh/libssh-config.cmake
%{_libdir}/cmake/libssh/libssh-config-relwithdebinfo.cmake %{_libdir}/cmake/libssh/libssh-config-relwithdebinfo.cmake