fixed segfault when no arguments are given (reported by Adrian Reyer)
[util-vserver.git] / util-vserver / util-vserver.spec.in
index b86e630..86c229a 100644 (file)
@@ -1,5 +1,9 @@
 # $Id$
 
+## This package understands the following switches:
+## --without dietlibc        ...   disable usage of dietlibc
+## --without xalan           ...   do not require/use the xalan xslt processor
+
 %define confdir                %_sysconfdir/vservers
 %define confdefaultdir %confdir/.defaults
 %define pkglibdir      %_libdir/%name
@@ -16,7 +20,7 @@ Group:                System Environment/Base
 URL:           http://savannah.nongnu.org/projects/util-vserver/
 Source0:       http://savannah.nongnu.org/download/util-vserver/stable.pkg/%version/%name-%version.tar.bz2
 BuildRoot:     %_tmppath/%name-%version-%release-root
-Requires:      init(@PACKAGE@)
+Requires:      init(%name)
 Requires:      %name-core = %epoch:%version-%release
 Requires:      %name-lib  = %epoch:%version-%release
 Requires:      diffutils mktemp sed
@@ -52,7 +56,7 @@ Requires(postun):     %confdir
 %package sysv
 Summary:               SysV-initscripts for vserver
 Group:                 System Environment/Base
-Provides:              init(@PACKAGE@)
+Provides:              init(%name) = sysv
 Requires:              make diffutils
 Requires:              initscripts
 Requires:              %name = %epoch:%version-%release
@@ -112,6 +116,8 @@ rm -rf $RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT/%_libdir/*.la
 
+MANIFEST_CONFIG='%config' \
+MANIFEST_CONFIG_NOREPLACE='%config(noreplace)' \
 contrib/make-manifest %name $RPM_BUILD_ROOT contrib/manifest.dat
 
 
@@ -222,6 +228,13 @@ test "$1" = 0  || %_initrddir/rebootmgr   condrestart >/dev/null || :
 
 
 %changelog
+* Thu Sep  9 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.30.194-0
+- documented switches for 'rpmbuild'
+
+* Wed May 26 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.29.215-0
+- (re)added the MANIFEST_* variables which were lost some time ago;
+  this will preserve %%config files...
+
 * Mon Mar 15 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.29.202-0
 - use file-list for sysv scripts also