let's keep it simple - our tag tools do not know how to handle this
[util-vserver-pl.git] / util-vserver-pl.spec
index 25c1377..bbcc767 100644 (file)
@@ -28,6 +28,8 @@ URL: %(echo %{url} | cut -d ' ' -f 2)
 Requires: util-vserver util-vserver-core util-vserver-build util-vserver-sysv
 Provides: util-vserver-python = %{version}-%{release}
 Obsoletes: util-vserver-py32 resman
+BuildRequires: libnl libnl-devel
+BuildRequires: python python-devel
 BuildRequires: util-vserver-core util-vserver-devel
 BuildRequires: autoconf automake libtool
 
@@ -96,8 +98,11 @@ rm -fr %{buildroot}
 /bin/vsh
 %{_mandir}/man8/vsh.8*
 
-#%{_sbindir}/vip6-autod
-#%{_sysconfdir}/init.d/vip6-autod
+# currently the libnl that comes with centos is too old and we cannot build these 
+%if "%{distro}" == "Fedora"
+%{_sbindir}/vip6-autod
+%{_sysconfdir}/init.d/vip6-autod
+%endif
 
 %changelog
 * Wed Sep 17 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - util-vserver-pl-0.3-13