From 8c2830d85ff24e1c995dc64a5affd5268451f2ce Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Thu, 11 Jul 2019 12:51:16 +0200 Subject: [PATCH] Add Obsoletes in libssh-config to avoid conflicts Add Obsoletes in libssh-config to avoid conflict with old libssh which installed the configuration files. --- libssh.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libssh.spec b/libssh.spec index 8b145a2..75d4b9c 100644 --- a/libssh.spec +++ b/libssh.spec @@ -1,6 +1,6 @@ Name: libssh Version: 0.9.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A library implementing the SSH protocol License: LGPLv2+ URL: http://www.libssh.org @@ -59,6 +59,7 @@ applications that use %{name}. %package config Summary: Configuration files for %{name} BuildArch: noarch +Obsoletes: %{name} < 0.9.0-3 %description config The %{name}-config package provides the default configuration files for %{name}. @@ -138,6 +139,10 @@ popd %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_server.config %changelog +* Thu Jul 11 2019 Anderson Sasaki - 0.9.0-5 +- Add Obsoletes in libssh-config to avoid conflict with old libssh which + installed the configuration files. + * Wed Jul 10 2019 Anderson Sasaki - 0.9.0-4 - Eliminate circular dependency with libssh-config subpackage