Improved Debian package.
[util-vserver.git] / util-vserver.spec.in
index 48026ae..0125bcb 100644 (file)
@@ -395,9 +395,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