summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-01 12:30:21 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-01 12:30:21 +0100
commitfe5db572c34bd21a6dd64fcebbbce474f51e7944 (patch)
tree39ea68bf5440200d981f137bb0e0a2b08710919c /buildfct
parent8e1e38a1807d26fdeb00532ccf21d3f7e0ce9331 (diff)
prepare build scripts for php56 repo
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct56
1 files changed, 53 insertions, 3 deletions
diff --git a/buildfct b/buildfct
index 06c65a8..c72adda 100644
--- a/buildfct
+++ b/buildfct
@@ -159,9 +159,9 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- echo -n "$(date +%X) el6 "
+ echo -n "$(date +%X) 55 el6 "
setarch i686 mock $quiet --configdir=$mocketc -r el6i55 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- echo -n "$(date +%X) el5 "
+ echo -n "$(date +%X) 55 el5 "
setarch i686 mock $quiet --configdir=$mocketc -r el5i55 --arch i386 rebuild $1 && echo " Ok." || echo " Error !"
date +%X
else
@@ -169,6 +169,30 @@ else
fi
}
+# Build All distribution / version / 32bits for remi/remi-php56
+mock56i()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ echo -n "$(date +%X) 56 fc20 "
+ setarch i686 mock $quiet --configdir=$mocketc -r fc20i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) 56 fc19 "
+ setarch i686 mock $quiet --configdir=$mocketc -r fc19i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) 56 el6 "
+ setarch i686 mock $quiet --configdir=$mocketc -r el6i56 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) 56 el5 "
+ setarch i686 mock $quiet --configdir=$mocketc -r el5i56 --arch i386 rebuild $1 && echo " Ok." || echo " Error !"
+ date +%X
+else
+ echo "file not found p$1'"
+fi
+}
+
# Build all distribution / version / 32bits for remi-test
mockallit()
{
@@ -253,7 +277,7 @@ fi
if [ -f "$1" ]; then
for i in $(seq 6 -1 5)
do
- echo -n "$(date +%X) el$i "
+ echo -n "$(date +%X) 55 el$i "
mock $quiet --configdir=$mocketc -r el${i}x55 rebuild $1 && echo " Ok." || echo " Error !"
done
date +%X
@@ -262,6 +286,32 @@ else
fi
}
+# Build All distribution / version / 64bits for remi/remi-php56
+mock56x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in $(seq 20 -1 19)
+ do
+ echo -n "$(date +%X) 56 fc$i "
+ mock $quiet --configdir=$mocketc -r fc${i}x56 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ for i in $(seq 6 -1 5)
+ do
+ echo -n "$(date +%X) 56 el$i "
+ mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build All distribution / version / 64bits for remi-test
mockallxt()
{