Accepting request 1102457 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1102457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libssh?expand=0&rev=70
This commit is contained in:
Dominique Leuenberger 2023-08-06 14:29:26 +00:00 committed by Git OBS Bridge
commit 189249ddd3
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 4 13:12:05 UTC 2023 - malcolmlewis@opensuse.org
- Add fix to spec file for the incorrect include path as a result
of the default openSSH move to /usr/etc, (boo#1211718).
-------------------------------------------------------------------
Sat May 6 01:05:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -128,6 +128,13 @@ make %{?_smp_mflags}
install -d -m755 %{buildroot}%{_sysconfdir}/libssh
install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/libssh/libssh_client.config
install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/libssh/libssh_server.config
# Fix incorrect include path, (boo#1211718).
%if 0%{?suse_version} > 1600
sed -i '/^Include/ s|/etc|/usr/etc|' %{buildroot}%{_sysconfdir}/libssh/libssh_client.config
sed -i '/^Include/ s|/etc|/usr/etc|' %{buildroot}%{_sysconfdir}/libssh/libssh_server.config
%endif
%endif
%check