]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/release/build-rpms
* The spec files were modified to add the distribution to the name (.fc9. etc)
[tinyos-2.x.git] / tools / release / build-rpms
index 097a96205a41593c1dea0a1a28b93de9148823da..1883a01f6164363faea6673a5c0366195c81c769 100755 (executable)
@@ -8,11 +8,12 @@ if [ -z $RPMS ]; then #test to see if RPMS is overridden by the environment
 fi             
 TINYOS_VERSION=2.1.0
 TINYOS_TOOLS_VERSION=1.3.0
-
+TINYOS_DEPUTY_VERREL=1.1-1
 echo "*** Building tarballs"
 #rm ../../../*.tar.gz
 sh tinyos.files
 sh tinyos-tools.files
+sh deputy.files
 #sh contrib/contrib.files
 #sh vm/vm.files
 #sh task-tinydb/task-tinydb.files
@@ -29,6 +30,8 @@ echo "*** Installing new tarballs"
 cd $HERE/../../..
 cp tinyos-$TINYOS_VERSION.tar.gz $RPMS/SOURCES
 cp tinyos-tools-$TINYOS_TOOLS_VERSION.tar.gz $RPMS/SOURCES
+cp tinyos-deputy-$TINYOS_DEPUTY_VERREL.tar.gz $RPMS/SOURCES
+cp tinyos-deputy-$TINYOS_DEPUTY_VERREL.patch $RPMS/SOURCES
 #cp tinyos-vm-$VM_VERSION.tar.gz $RPMS/SOURCES
 #cp tinyos-contrib-$CONTRIB_VERSION.tar.gz $RPMS/SOURCES
 #cp task-tinydb-$TINYDB_VERSION.tar.gz $RPMS/SOURCES
@@ -37,6 +40,7 @@ echo "*** Creating rpms"
 cd $RPMS
 rpmbuild -bb $HERE/tinyos.spec
 rpmbuild -bb $HERE/tinyos-tools.spec
+rpmbuild -bb $HERE/deputy.spec
 #rpmbuild -bb $HERE/task-tinydb/task-tinydb.spec
 #rpmbuild -bb $HERE/contrib/contrib.spec
 #rpmbuild -bb $HERE/vm/vm.spec