Add libnl-devel build requirement
[util-vserver.git] / util-vserver.spec.in
index c072f48..db019c1 100644 (file)
@@ -52,6 +52,8 @@ Obsoletes:    vserver < %version
 BuildRequires: mount vconfig gawk iproute iptables
 BuildRequires: gcc-c++ wget which diffutils
 BuildRequires: e2fsprogs-devel beecrypt-devel
+# vip6-autod
+BuildRequires:  libnl-devel
 %{!?_without_doc:BuildRequires:        doxygen tetex-latex}
 Requires(post):                %name-core
 Requires(pre):         %pkglibdir
@@ -71,7 +73,7 @@ Requires:             util-linux
 %package build
 Summary:               Tools which can be used to build vservers
 Group:                 Applications/System
-Requires:              rpm wget binutils tar e2fsprogs
+Requires:              rpm wget tar
 Requires:              %name = %version-%release
 Requires(pre):         %confdir
 Requires(postun):      %confdir
@@ -423,7 +425,7 @@ done
 
 # Install the prebuilt extensions by hand
 python_sitelib=$(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
-install -D -m 755 *.so "$python_sitelib"/
+install -m 755 *.so "$python_sitelib"/
 
 popd
 
@@ -451,7 +453,7 @@ done
 
 # Install the prebuilt extensions by hand
 python_sitelib=$(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
-install -D -m 755 *.so "$python_sitelib"/
+install -m 755 *.so "$python_sitelib"/
 
 popd