Require libssh 0.7.1 on fedora >= 22 systems

This commit is contained in:
petervo 2015-07-17 08:39:02 -07:00
parent e0720cbb2f
commit e0a445e82e

View File

@ -22,13 +22,18 @@
%define _hardened_build 1 %define _hardened_build 1
%define libssh_version 0.6.0
%if 0%{?fedora} > 0 && 0%{?fedora} >= 22
%define libssh_version 0.7.1
%endif
Name: cockpit Name: cockpit
%if %{defined gitcommit} %if %{defined gitcommit}
Version: %{gitcommit} Version: %{gitcommit}
%else %else
Version: 0.65 Version: 0.65
%endif %endif
Release: 1%{?dist} Release: 2%{?dist}
Summary: A user interface for Linux servers Summary: A user interface for Linux servers
License: LGPLv2+ License: LGPLv2+
@ -49,7 +54,7 @@ BuildRequires: pam-devel
BuildRequires: autoconf automake BuildRequires: autoconf automake
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libssh-devel >= 0.6.0 BuildRequires: libssh-devel >= %{libssh_version}
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: krb5-devel BuildRequires: krb5-devel
@ -158,6 +163,7 @@ Summary: Cockpit Web Service
Requires: glib-networking Requires: glib-networking
Requires: openssl Requires: openssl
Requires: glib2 >= 2.37.4 Requires: glib2 >= 2.37.4
Requires: libssh >= %{libssh_version}
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
@ -432,6 +438,9 @@ fi
%endif %endif
%changelog %changelog
* Fri Jul 17 2015 Peter <petervo@redhat.com> - 0.65-2
- Require libssh 0.7.1 on fedora >= 22 systems
* Wed Jul 15 2015 Peter <petervo@redhat.com> - 0.65-1 * Wed Jul 15 2015 Peter <petervo@redhat.com> - 0.65-1
- Update to 0.65 release - Update to 0.65 release