merge rev17211 (Need to print the exception string as part of the self.log, or else...
[util-vserver-pl.git] / util-vserver-pl.spec
index 8cdada9..a936e4a 100644 (file)
@@ -4,8 +4,8 @@
 %define url $URL$
 
 %define name   util-vserver-pl
-%define version 0.3
-%define taglevel 13
+%define version 0.4
+%define taglevel 3
 
 %define release        %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 
@@ -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
 
@@ -91,15 +93,18 @@ rm -fr %{buildroot}
 %{_sbindir}/vuseradd
 %{_sbindir}/vuserdel
 %{python_sitearch}/vserverimpl.so
+%{_sbindir}/vip6-autod
+%{_sysconfdir}/init.d/vip6-autod
 
 %attr(4755,root,root) %{_sbindir}/vsh
 /bin/vsh
 %{_mandir}/man8/vsh.8*
 
-%{_sbindir}/vip6-autod
-%{_sysconfdir}/init.d/vip6-autod
-
 %changelog
+* Tue Sep 23 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - util-vserver-pl-0.3-14
+- configure/make check the version of libnl and can cope with either 1.1 or 1.0-pre6
+- as centos does not have any of these, do build vip6-autod on fedora only
+
 * Wed Sep 17 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - util-vserver-pl-0.3-13
 - Remove current bw limit checks before issuing tc.
 
@@ -148,3 +153,4 @@ rm -fr %{buildroot}
 
 * Fri Nov 30 2007 Daniel Hokka Zakrisson <daniel@hozac.com> - 0.1-1
 - Initial release
+