Fix RHEL dependencies

f38
David Woodhouse 13 years ago
parent 9950d33a6f
commit e8dd41e44b

@ -15,13 +15,12 @@
Name: openconnect Name: openconnect
Version: 4.00 Version: 4.00
Release: 1%{?dist} Release: 2%{?dist}
Summary: Open client for Cisco AnyConnect VPN Summary: Open client for Cisco AnyConnect VPN
Group: Applications/Internet Group: Applications/Internet
License: LGPLv2+ License: LGPLv2+
URL: http://www.infradead.org/openconnect.html URL: http://www.infradead.org/openconnect.html
# git reset --hard b40dcae ; make tmp-dist
Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz
Source1: library15.c Source1: library15.c
Source2: libopenconnect15.map Source2: libopenconnect15.map
@ -29,10 +28,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel libxml2-devel gtk2-devel GConf2-devel dbus-devel BuildRequires: openssl-devel libxml2-devel gtk2-devel GConf2-devel dbus-devel
BuildRequires: autoconf automake libtool trousers-devel python gettext BuildRequires: autoconf automake libtool trousers-devel python gettext
%if 0%{?fedora}
Requires: vpnc-script Requires: vpnc-script
Requires: openssl >= 0.9.8k-4 # Older versions in F16 won't find openconnect in /usr/sbin:
Conflicts: NetworkManager-openconnect < 0.9.0-3
%else
Requires: vpnc
%endif
%if %use_gnutls %if %use_gnutls
# We need the fix for https://bugzilla.redhat.com/show_bug.cgi?id=826293 # For F16, we need the fix for https://bugzilla.redhat.com/show_bug.cgi?id=826293
BuildRequires: gnutls-devel >= 2.12.14-3 BuildRequires: gnutls-devel >= 2.12.14-3
Requires: gnutls >= 2.12.14-3 Requires: gnutls >= 2.12.14-3
%endif %endif
@ -40,8 +45,6 @@ Requires: gnutls >= 2.12.14-3
BuildRequires: libproxy-devel BuildRequires: libproxy-devel
%endif %endif
# Older versions of NetworkManager-openconnect won't find openconnect in /usr/sbin
Conflicts: NetworkManager-openconnect < 0.9.0-3
%description %description
This package provides a client for Cisco's "AnyConnect" VPN, which uses This package provides a client for Cisco's "AnyConnect" VPN, which uses
@ -144,6 +147,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/openconnect.pc %{_libdir}/pkgconfig/openconnect.pc
%changelog %changelog
* Thu Jun 21 2012 David Woodhouse <David.Woodhouse@intel.com> - 4.00-2
- Fix dependencies for RHEL[56]
* Wed Jun 20 2012 David Woodhouse <David.Woodhouse@intel.com> - 4.00-1 * Wed Jun 20 2012 David Woodhouse <David.Woodhouse@intel.com> - 4.00-1
- Update to 4.00 release - Update to 4.00 release

Loading…
Cancel
Save