%define name util-vserver
%define version 0.30.208
-%define release 11%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+%define release 14%{?pldistro:.%{pldistro}}%{?date:.%{date}}
%define _without_dietlibc 1
%define _without_xalan 1
Summary: Python modules for manipulating vservers
Group: Applications/System
Requires: python util-python
-Obsoletes: util-vserver-py23
+Obsoletes: util-vserver-py23 resman
%description
%__make -C python DESTDIR="$PWD/tmp" install
install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}
install tmp/usr/lib/python*/site-packages/*.{py,so} $RPM_BUILD_ROOT/%{_datadir}/%{name}/
+install -D -m 755 python/bwlimit $RPM_BUILD_ROOT/%{_sbindir}/bwlimit
%check || :
popd
-%triggerpostun -- %{name}
+%triggerpostun python -- util-vserver-python, util-vserver-py23
# RPMs get upgraded by installing the new one, then uninstalling the
# old one. Since we no longer own the byte-compiled modules, they may
# be removed right after we create them in %post if we are upgraded
%files python
%{_datadir}/%{name}
+%{_sbindir}/bwlimit
%changelog