diff --git a/openvpn.spec b/openvpn.spec index 641ebf1..8b007e5 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -21,9 +21,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -un) BuildRequires: lzo-devel BuildRequires: openssl-devel BuildRequires: pam-devel +# For /sbin/ip. +BuildRequires: iproute # We need /dev/net/tun. # This will work with RH9+ dev or udev. Requires: dev >= 0:3.3.2-5 +# For /sbin/ip. +Requires: iproute +# For ifconfig and route. +Requires: net-tools Requires(pre): /usr/sbin/useradd Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig, /sbin/service @@ -161,6 +167,7 @@ fi * Thu Jan 24 2008 Steven Pritchard 2.1-0.22.rc6 - Update to 2.1_rc6 - Pass paths to ifconfig, ip, and route to configure +- BR iproute and Require iproute and net-tools * Wed Jan 23 2008 Steven Pritchard 2.1-0.21.rc5 - Update to 2.1_rc5