Requires: init(@PACKAGE@)
Requires: %name-core = %epoch:%version-%release
Requires: %name-lib = %epoch:%version-%release
-Requires: make
Provides: vserver = %epoch:%version-%release
Obsoletes: vserver < %epoch:%version
BuildRequires: mount vconfig gawk iproute
Summary: SysV-initscripts for vserver
Group: System Environment/Base
Provides: init(@PACKAGE@)
+Requires: make diffutils
Requires: %name = %epoch:%version-%release
Requires: initscripts
-Requires(pre,postun): %_initrddir
+Requires(pre,postun): %_initrddir %pkglibdir
%package legacy
Summary: Legacy utilities for util-vserver
%define v_services httpd named portmap sendmail smb sshd xinetd
%post sysv
-%chkconfig --add vservers
+%chkconfig --add vservers-default
%chkconfig --add rebootmgr
%chkconfig --add vprocunhide
test "$1" != 0 || %chkconfig --del vprocunhide
test "$1" != 0 || %chkconfig --del rebootmgr
-test "$1" != 0 || %chkconfig --del vservers
+test "$1" != 0 || %chkconfig --del vservers-default
%postun sysv
%dir %pkglibdir/legacy
-%files sysv
+%files sysv -f %name-sysv.list
%defattr(-,root,root,-)
%config %_initrddir/*
%config(noreplace) %_sysconfdir/vservers.conf
%changelog
+* Mon Mar 15 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.29.202-0
+- use file-list for sysv scripts also
+
* Sat Mar 6 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.29.198-0
- added vprocunhide-service support
- added doxygen support