X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=util-vserver.spec.in;h=d02399ed5834e451230f89a388b3b5bb50b3b33d;hb=5a7d89b238734a86c5da88766305c5483098d599;hp=a2b0cea6abaa66b2bdbaf369004eee8e718b0b24;hpb=93d79fd252564ee383feec2dbd80a4bc80059b6c;p=util-vserver.git diff --git a/util-vserver.spec.in b/util-vserver.spec.in index a2b0cea..d02399e 100644 --- a/util-vserver.spec.in +++ b/util-vserver.spec.in @@ -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