Browse Source

vbootstrap.spec: 0.0.6; vbuilder.sh.in: update, a bit

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@371 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
4635a27939
2 changed files with 6 additions and 2 deletions
  1. 4 1
      vbootstrap.spec
  2. 2 1
      vbuilder.sh.in

+ 4 - 1
vbootstrap.spec

@@ -1,7 +1,7 @@
 # This package is maintained on trac svn repository. Please do not change on local.
 # If you find a BUG, please report to Vine@vinelinux.org or mailing list or BTS.
 
-%define version 0.0.5
+%define version 0.0.6
 
 Summary: bootstrap scripts to create a basic Vine Linux system
 Summary(ja): Vine Linux の基本システムを作成するためのスクリプト
@@ -59,6 +59,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
 
 
 %changelog
+* Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.6-1
+- updated vbuilder.sh.in, little
+
 * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-1
 - updated vbuilder.sh.in and vbuilder.conf.in
   - extended to store built rpms on chroot env. in each arch. of home rpm dir.

+ 2 - 1
vbuilder.sh.in

@@ -250,7 +250,8 @@ RPM_Build(){
     fi
     
     RPM_PKG_USER=$(stat -c %U $RPM_PKG)
-    local __install="install -p -v -o ${RPM_PKG_USER} -g ${RPM_PKG_USER}"
+    RPM_PKG_GROUP=$(stat -c %G $RPM_PKG)
+    local __install="install -p -v -o ${RPM_PKG_USER} -g ${RPM_PKG_GROUP}"
     RPM_PKG_ARCH_LIST="RPMS/i386 RPMS/x86_64 RPMS/ppc RPMS/noarch SRPMS"
 
     /usr/sbin/chroot ${BUILD_ROOT} \