2008-06-17 Laszlo (Laca) Peter <[email protected]>
authorlaca
Tue, 17 Jun 2008 00:40:37 +0000
changeset 19 8c90ed1135f5
parent 18 ea7716e23aab
child 20 f8e2b17c8c4f
2008-06-17 Laszlo (Laca) Peter <[email protected]> * cbe-install: cp CBE.inc to SPECS before building CBEenv.spec (bug reported by Andras Barna)
ChangeLog
cbe-install
--- a/ChangeLog	Mon Jun 16 11:31:58 2008 +0000
+++ b/ChangeLog	Tue Jun 17 00:40:37 2008 +0000
@@ -1,3 +1,8 @@
+2008-06-17  Laszlo (Laca) Peter  <[email protected]>
+
+	* cbe-install: cp CBE.inc to SPECS before building CBEenv.spec
+	  (bug reported by Andras Barna)
+
 2008-06-16  Laszlo (Laca) Peter  <[email protected]>
 
 	* CBE_README: (new) placeholder
--- a/cbe-install	Mon Jun 16 11:31:58 2008 +0000
+++ b/cbe-install	Tue Jun 17 00:40:37 2008 +0000
@@ -1376,6 +1376,10 @@
     log "Copying ld-wrapper"
     logrun bash -c "cp $mydir/ext-sources/ld-wrapper $rootdir$pkgbuild_topdir/SOURCES" || \
 	return 1
+    logrun bash -c "mkdir -p $rootdir$pkgbuild_topdir/SPECS" || \
+	return 1
+    logrun bash -c "cp $mydir/include/CBE.inc $rootdir$pkgbuild_topdir/SPECS/" || \
+	return 1
     logrun_quiet $cbe_prefix/bin/pkgbuild --define "cbe_prefix $cbe_prefix" --define "cbe_version $CBE_VERSION" --define "build_user $logname" -ba CBEenv.spec || return 1
     logrun $cbe_prefix/bin/pkgtool install-pkgs --define "build_user $logname" CBEenv.spec || return 1
     logrun cp ${envdir}/* $cbe_prefix/lib/cbe-env/