use platform provided RLIMIT_ values
[util-vserver.git] / util-vserver.spec.in
index a2b0cea..d02399e 100644 (file)
@@ -17,7 +17,7 @@
 
 %define name @PACKAGE@
 %define version @VERSION@
-%define release 12%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+%define release 16%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 
 %define _without_dietlibc 1
 %define _without_xalan 1
@@ -215,6 +215,7 @@ contrib/make-manifest %name $RPM_BUILD_ROOT contrib/manifest.dat
 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
+install -D -m 755 python/disklimit $RPM_BUILD_ROOT/%{_sbindir}/disklimit
 
 
 %check || :
@@ -399,7 +400,7 @@ install -D -m 755 *.so "$python_sitelib"/
 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
@@ -442,6 +443,7 @@ fi
 %files python
 %{_datadir}/%{name}
 %{_sbindir}/bwlimit
+%{_sbindir}/disklimit
 
 
 %changelog