diff --git a/libssh.changes b/libssh.changes index c866c4f..aeb1da7 100644 --- a/libssh.changes +++ b/libssh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 12 08:46:41 UTC 2024 - Pedro Monreal + +- Don't change the path for crypto-policies libssh.config (bsc#1222716) + ------------------------------------------------------------------- Sat Dec 23 10:35:07 UTC 2023 - Andreas Schneider diff --git a/libssh.spec b/libssh.spec index 88179e2..a0ca616 100644 --- a/libssh.spec +++ b/libssh.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package libssh # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -134,6 +134,9 @@ install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/libssh/libssh_server.config %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 +# Don't change the path for crypto-policies libssh.config (bsc#1222716) +sed -i '/^Include/ s|/usr/etc/crypto-policies|/etc/crypto-policies|' %{buildroot}%{_sysconfdir}/libssh/libssh_client.config +sed -i '/^Include/ s|/usr/etc/crypto-policies|/etc/crypto-policies|' %{buildroot}%{_sysconfdir}/libssh/libssh_server.config %endif %endif