SPECS: vserver-distro-gentoo.spec - add banner for usage
glen
glen at pld-linux.org
Sun Oct 9 00:58:02 CEST 2005
Author: glen Date: Sat Oct 8 22:58:02 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add banner for usage
---- Files affected:
SPECS:
vserver-distro-gentoo.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/vserver-distro-gentoo.spec
diff -u SPECS/vserver-distro-gentoo.spec:1.3 SPECS/vserver-distro-gentoo.spec:1.4
--- SPECS/vserver-distro-gentoo.spec:1.3 Sun Oct 9 00:49:09 2005
+++ SPECS/vserver-distro-gentoo.spec Sun Oct 9 00:57:57 2005
@@ -12,7 +12,7 @@
Summary: VServer build template for Gentoo
Name: vserver-distro-gentoo
Version: 1.0
-Release: 1.6
+Release: 1.7
License: GPL
Group: Applications/System
Source0: ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/rc-scripts-1.6.13.tar.bz2
@@ -23,7 +23,7 @@
# NoSource2-md5: be45da32a8c8c420a3c45de125566311
Patch0: %{name}.patch
URL: http://dev.gentoo.org/~hollow/vserver/
-BuildRequires: fakeroot
+BuildRequires: rpmbuild(macros) >= 1.194
Requires: bash
Requires: util-vserver-build
Requires: wget
@@ -56,6 +56,22 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+if [ "$1" != 1 ]; then
+%banner -e %{name} <<EOF
+Please read http://www.gentoo.org/doc/en/vserver-howto.xml how to
+create gentoo guest vservers.
+
+vserver-new is called vserver-gentoo-new in PLD Linux.
+
+You will also need unpacked portage tree in /usr/portage. You can get
+one from your closest gentoo mirror. If you can't find one then
+ftp://ftp.linux.ee/pub/gentoo/distfiles/snapshots/portage-latest.tar.bz2
+will do.
+EOF
+#' vim
+fi
+
%files
%defattr(644,root,root,755)
%dir %{_distdir}
@@ -70,6 +86,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/10/08 22:57:57 glen
+- add banner for usage
+
Revision 1.3 2005/10/08 22:49:09 glen
- don't need stage files packaged
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/vserver-distro-gentoo.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list