SPECS: vserver-distro-gentoo.spec - cleanup deps (bash autodetecte...

glen glen at pld-linux.org
Sun Oct 9 01:55:12 CEST 2005


Author: glen                         Date: Sat Oct  8 23:55:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup deps (bash autodetected and wget optional)
- remove version from %install

---- Files affected:
SPECS:
   vserver-distro-gentoo.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/vserver-distro-gentoo.spec
diff -u SPECS/vserver-distro-gentoo.spec:1.6 SPECS/vserver-distro-gentoo.spec:1.7
--- SPECS/vserver-distro-gentoo.spec:1.6	Sun Oct  9 01:13:36 2005
+++ SPECS/vserver-distro-gentoo.spec	Sun Oct  9 01:55:06 2005
@@ -2,7 +2,7 @@
 Summary:	VServer build template for Gentoo
 Name:		vserver-distro-gentoo
 Version:	1.0
-Release:	1.9
+Release:	1.10
 License:	GPL
 Group:		Applications/System
 Source0:	ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/rc-scripts-1.6.13.tar.bz2
@@ -16,9 +16,7 @@
 Patch2:		vserver-new_drop-defaulttar.patch
 URL:		http://dev.gentoo.org/~hollow/vserver/
 BuildRequires:	rpmbuild(macros) >= 1.194
-Requires:	bash
 Requires:	util-vserver-build
-Requires:	wget
 Requires:	tar
 Requires:	bzip2
 ExclusiveArch:	%{ix86}
@@ -41,11 +39,13 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_distdir},%{_sbindir},%{_portagedir}}
-install rc-scripts-1.6.13/sbin/functions.sh $RPM_BUILD_ROOT%{_distdir}
+P=$(basename %{SOURCE0} .tar.bz2)
+install ${P}/sbin/functions.sh $RPM_BUILD_ROOT%{_distdir}
 sed -e '
 s, at distdir@,%{_distdir},
 s, at portagedir@,%{_portagedir},
 ' tools/vserver-new > $RPM_BUILD_ROOT%{_sbindir}/vserver-gentoo-new
+chmod +x $RPM_BUILD_ROOT%{_sbindir}/vserver-gentoo-new
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -80,6 +80,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/10/08 23:55:06  glen
+- cleanup deps (bash autodetected and wget optional)
+- remove version from %install
+
 Revision 1.6  2005/10/08 23:13:36  glen
 - one needs just section 3 from gentoo handbook
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vserver-distro-gentoo.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list