Add Obsoletes in libssh-config to avoid conflicts

Add Obsoletes in libssh-config to avoid conflict with old libssh which
installed the configuration files.
This commit is contained in:
Anderson Toshiyuki Sasaki 2019-07-11 12:51:16 +02:00
parent f6be4066fc
commit 8c2830d85f
1 changed files with 6 additions and 1 deletions

View File

@ -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 <ansasaki@redhat.com> - 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 <ansasaki@redhat.com> - 0.9.0-4
- Eliminate circular dependency with libssh-config subpackage