# for module-tools
%global module_version_varname modulever
-%global taglevel 2
+%global taglevel 3
%{!?release_func:%global release_func() %1%{?dist}}
Group: System Environment/Base
URL: http://savannah.nongnu.org/projects/util-vserver/
Source0: http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%fullver.tar.bz2
-#Source1: http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%fullver.tar.bz2.asc
+Source1: fstab
Patch1: f12.patch
-Patch2: remove-tmpfs.patch
+Patch2: f13.patch
+Patch3: rev2883to2896.patch
BuildRoot: %_tmppath/%name-%version-%release-root
Requires: init(%name)
Requires: %name-core = %version-%release
%setup -q -n %name-%fullver
%patch1 -p0
%patch2 -p1
+%patch2 -p0
autoreconf -fi
%build
MANIFEST_CONFIG_NOREPLACE='%config(noreplace)' \
contrib/make-manifest %name $RPM_BUILD_ROOT contrib/manifest.dat
+install -c -m 755 %{SOURCE1} %{buildroot}/%pkglibdir/defaults/fstab
%check
%__make check
%chkconfig --add vprocunhide
%chkconfig --add util-vserver
%chkconfig util-vserver on
-service util-vserver restart
%preun sysv
test "$1" != 0 || %_initrddir/vprocunhide stop &>/dev/null || :
%changelog
+* Tue Jun 08 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - util-vserver-0.30.216-3
+- Do not restart util-vserver service on upgrades
+
* Tue Jun 01 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - util-vserver-0.30.216-2
- remove tmpfs mounted /tmp from fstab template