Provide configuration files in libssh-config subpackage
This commit is contained in:
parent
5547c06414
commit
a40692bc35
23
libssh.spec
23
libssh.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libssh
|
Name: libssh
|
||||||
Version: 0.9.0
|
Version: 0.9.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -30,6 +30,8 @@ BuildRequires: openssh-clients
|
|||||||
BuildRequires: openssh-server
|
BuildRequires: openssh-server
|
||||||
BuildRequires: nmap-ncat
|
BuildRequires: nmap-ncat
|
||||||
|
|
||||||
|
Requires: %{name}-config = %{version}-%{release}
|
||||||
|
|
||||||
Recommends: crypto-policies
|
Recommends: crypto-policies
|
||||||
|
|
||||||
%ifarch aarch64 ppc64 ppc64le s390x x86_64
|
%ifarch aarch64 ppc64 ppc64le s390x x86_64
|
||||||
@ -54,6 +56,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
The %{name}-devel package contains libraries and header files for developing
|
The %{name}-devel package contains libraries and header files for developing
|
||||||
applications that use %{name}.
|
applications that use %{name}.
|
||||||
|
|
||||||
|
%package config
|
||||||
|
Summary: Configuration files for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description config
|
||||||
|
The %{name}-config package provides the default configuration files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -112,9 +122,6 @@ popd
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libssh.so.4*
|
%{_libdir}/libssh.so.4*
|
||||||
%{_libdir}/libssh_threads.so.4*
|
%{_libdir}/libssh_threads.so.4*
|
||||||
%attr(0755,root,root) %dir %{_sysconfdir}/libssh
|
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_client.config
|
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_server.config
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc obj/doc/html
|
%doc obj/doc/html
|
||||||
@ -126,7 +133,15 @@ popd
|
|||||||
%{_libdir}/libssh.so
|
%{_libdir}/libssh.so
|
||||||
%{_libdir}/libssh_threads.so
|
%{_libdir}/libssh_threads.so
|
||||||
|
|
||||||
|
%files config
|
||||||
|
%attr(0755,root,root) %dir %{_sysconfdir}/libssh
|
||||||
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_client.config
|
||||||
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_server.config
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 10 2019 Anderson Sasaki <ansasaki@redhat.com> - 0.9.0-3
|
||||||
|
- Provide the configuration files in a separate libssh-config subpackage
|
||||||
|
|
||||||
* Thu Jul 04 2019 Anderson Sasaki <ansasaki@redhat.com> - 0.9.0-2
|
* Thu Jul 04 2019 Anderson Sasaki <ansasaki@redhat.com> - 0.9.0-2
|
||||||
- Do not ignore keys from known_hosts when SSH_OPTIONS_HOSTKEYS is set
|
- Do not ignore keys from known_hosts when SSH_OPTIONS_HOSTKEYS is set
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user