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

View File

@ -1,6 +1,6 @@
Name: libssh Name: libssh
Version: 0.9.0 Version: 0.9.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: A library implementing the SSH protocol Summary: A library implementing the SSH protocol
License: LGPLv2+ License: LGPLv2+
URL: http://www.libssh.org URL: http://www.libssh.org
@ -59,6 +59,7 @@ applications that use %{name}.
%package config %package config
Summary: Configuration files for %{name} Summary: Configuration files for %{name}
BuildArch: noarch BuildArch: noarch
Obsoletes: %{name} < 0.9.0-3
%description config %description config
The %{name}-config package provides the default configuration files for %{name}. 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 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_server.config
%changelog %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 * Wed Jul 10 2019 Anderson Sasaki <ansasaki@redhat.com> - 0.9.0-4
- Eliminate circular dependency with libssh-config subpackage - Eliminate circular dependency with libssh-config subpackage