Get rid of useless file.
[util-vserver.git] / util-vserver.spec.in
index 48026ae..639aaef 100644 (file)
@@ -347,7 +347,6 @@ test "$1" = 0  || %_initrddir/rebootmgr   condrestart >/dev/null || :
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS
 %doc doc/*.html doc/*.css
-/sbin/vshelper
 %dir %confdir
 %dir %confdefaultdir
 %dir %confdefaultdir/apps
@@ -395,9 +394,10 @@ test "$1" = 0  || %_initrddir/rebootmgr   condrestart >/dev/null || :
 %{!?_without_doc:%doc lib/apidoc/html}
 
 
-%files python
+%if 0%{!?_without_python:1}
+%files python -f %name-python.list
 %defattr(-,root,root,-)
-%{!?_without_python:%{python_sitearch}/*}
+%endif
 
 
 %changelog