git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora 13 repositories
[util-vserver.git]
/
util-vserver.spec
diff --git
a/util-vserver.spec
b/util-vserver.spec
index
29596ce
..
c618870
100644
(file)
--- a/
util-vserver.spec
+++ b/
util-vserver.spec
@@
-18,12
+18,13
@@
%global _localstatedir %_var
%global fullver 0.30.216-pre2883
%global _localstatedir %_var
%global fullver 0.30.216-pre2883
+%global modulever 0.30.216
%global ver %( echo %fullver | sed 's/-.*//' )
%global subver %( s=`echo %fullver | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} )
# for module-tools
%global ver %( echo %fullver | sed 's/-.*//' )
%global subver %( s=`echo %fullver | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} )
# for module-tools
-%global module_version_varname
full
ver
-%global taglevel
0
+%global module_version_varname
module
ver
+%global taglevel
2
%{!?release_func:%global release_func() %1%{?dist}}
%{!?release_func:%global release_func() %1%{?dist}}
@@
-37,6
+38,8
@@
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
Patch1: f12.patch
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
Patch1: f12.patch
+Patch2: remove-tmpfs.patch
+Patch3: f13.patch
BuildRoot: %_tmppath/%name-%version-%release-root
Requires: init(%name)
Requires: %name-core = %version-%release
BuildRoot: %_tmppath/%name-%version-%release-root
Requires: init(%name)
Requires: %name-core = %version-%release
@@
-50,7
+53,7
@@
BuildRequires: e2fsprogs-devel e2fsprogs
%{!?_without_beecrypt:BuildRequires: beecrypt-devel}
%{?_without_beecrypt:BuildRequires: nss-devel}
BuildRequires: e2fsprogs
%{!?_without_beecrypt:BuildRequires: beecrypt-devel}
%{?_without_beecrypt:BuildRequires: nss-devel}
BuildRequires: e2fsprogs
-
#%%{!?_without_doc:BuildRequires:
doxygen tetex-latex}
+
%{!?_without_doc:BuildRequires:
doxygen tetex-latex}
%{!?_without_python:BuildRequires: python python-devel ctags}
Requires(post): %name-core
Requires(pre): %pkglibdir
%{!?_without_python:BuildRequires: python python-devel ctags}
Requires(post): %name-core
Requires(pre): %pkglibdir
@@
-195,6
+198,9
@@
Linux-VServer API from Python.
%prep
%setup -q -n %name-%fullver
%patch1 -p0
%prep
%setup -q -n %name-%fullver
%patch1 -p0
+%patch2 -p1
+%patch3 -p1
+autoreconf -fi
%build
%configure --with-initrddir=%_initrddir --enable-release \
%build
%configure --with-initrddir=%_initrddir --enable-release \
@@
-204,7
+210,7
@@
Linux-VServer API from Python.
%{?_without_python:--without-python}
%__make %{?_smp_mflags} all
%{?_without_python:--without-python}
%__make %{?_smp_mflags} all
-
#%
%{!?_without_doc:%__make %{?_smp_mflags} doc}
+%{!?_without_doc:%__make %{?_smp_mflags} doc}
%install
%install
@@
-250,7
+256,7
@@
test "$1" != 0 || rm -rf %_localstatedir/cache/vservers/* 2>/dev/null || :
%chkconfig --add vprocunhide
%chkconfig --add util-vserver
%chkconfig util-vserver on
%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 || :
%preun sysv
test "$1" != 0 || %_initrddir/vprocunhide stop &>/dev/null || :
@@
-382,8
+388,8
@@
test "$1" = 0 || %_initrddir/rebootmgr condrestart >/dev/null || :
%files devel -f %name-devel.list
%defattr(-,root,root,-)
%files devel -f %name-devel.list
%defattr(-,root,root,-)
-
#%
%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf}
-
#%
%{!?_without_doc:%doc lib/apidoc/html}
+%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf}
+%{!?_without_doc:%doc lib/apidoc/html}
%files python
%files python
@@
-392,6
+398,11
@@
test "$1" = 0 || %_initrddir/rebootmgr condrestart >/dev/null || :
%changelog
%changelog
+* 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
+
+* Tue May 11 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - util-vserver-0.30.216-1
+
* Mon Jun 25 2007 Daniel Hokka Zakrisson <daniel@hozac.com> - 0.30.214-0
- updated URLs
- get rid of e2fsprogs requirement
* Mon Jun 25 2007 Daniel Hokka Zakrisson <daniel@hozac.com> - 0.30.214-0
- updated URLs
- get rid of e2fsprogs requirement