Updating link to change in openSUSE:Factory/libssh revision 70

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libssh?expand=0&rev=e8bb9ffba0731848e1bad8275a296a44
This commit is contained in:
OBS User buildservice-autocommit 2023-08-06 14:29:26 +00:00 committed by Git OBS Bridge
parent acf5ed5727
commit 81c7308225
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