X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=util-vserver.spec;h=8a43933af4b4b2b7a1abe79259fe9b99d51ad7c6;hb=a388bcd000095c953621471a17811f2e28286701;hp=c6188707e3a69fbd9cdb81994b110a32fc372f9a;hpb=f12c34994e3ab53b6d6e5c44d08aed44a60f75b1;p=util-vserver.git diff --git a/util-vserver.spec b/util-vserver.spec index c618870..8a43933 100644 --- a/util-vserver.spec +++ b/util-vserver.spec @@ -36,10 +36,9 @@ License: GPL 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 -Patch3: f13.patch +Patch2: f13.patch BuildRoot: %_tmppath/%name-%version-%release-root Requires: init(%name) Requires: %name-core = %version-%release @@ -199,7 +198,6 @@ Linux-VServer API from Python. %setup -q -n %name-%fullver %patch1 -p0 %patch2 -p1 -%patch3 -p1 autoreconf -fi %build @@ -223,6 +221,7 @@ MANIFEST_CONFIG='%config' \ 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 @@ -256,7 +255,6 @@ test "$1" != 0 || rm -rf %_localstatedir/cache/vservers/* 2>/dev/null || : %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 || :