summaryrefslogtreecommitdiffstats
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
parent8e1e38a1807d26fdeb00532ccf21d3f7e0ce9331 (diff)
prepare build scripts for php56 repo
-rw-r--r--buildfct56
-rwxr-xr-xgetmock16
2 files changed, 64 insertions, 8 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()
{
diff --git a/getmock b/getmock
index 7e63d89..f799b3a 100755
--- a/getmock
+++ b/getmock
@@ -143,16 +143,22 @@ if [ $1 = all ]; then
getOneMock el${i}i $opt
done
elif [ $1 = all55 ]; then
- for n in $(seq 14 20)
- do
- getOneMock fc${n}i remi
- getOneMock fc${n}x remi
- done
for n in $(seq 5 6)
do
getOneMock el${n}i php55
getOneMock el${n}x php55
done
+elif [ $1 = all56 ]; then
+ for n in $(seq 19 20)
+ do
+ getOneMock fc${n}i php56
+ getOneMock fc${n}x php56
+ done
+ for n in $(seq 5 6)
+ do
+ getOneMock el${n}i php56
+ getOneMock el${n}x php56
+ done
elif [ $1 = all54 ]; then
for n in $(seq 5 6)
do