From 81c73082259cdc2d8a5f0bfc8f9036a6dc739b1eb33892bb2fc36647812eeca4 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Sun, 6 Aug 2023 14:29:26 +0000 Subject: [PATCH] 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 --- libssh.changes | 6 ++++++ libssh.spec | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/libssh.changes b/libssh.changes index b4a6886..3151b78 100644 --- a/libssh.changes +++ b/libssh.changes @@ -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 diff --git a/libssh.spec b/libssh.spec index 7ac70bb..6173610 100644 --- a/libssh.spec +++ b/libssh.spec @@ -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