summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-08-21 11:19:18 +0200
committerRemi Collet <remi@remirepo.net>2018-08-21 11:19:18 +0200
commit9a458a1ac56918d2ffe97061dbc07efefcc87533 (patch)
treec1a7965f7c23b161cd48420fd8442ff62088a863
parent31c1899267b5955a2bec8b9bbbbbbbd4d2d66453 (diff)
7.3 tools
-rw-r--r--buildfct55
-rwxr-xr-xgetmock18
2 files changed, 73 insertions, 0 deletions
diff --git a/buildfct b/buildfct
index 7139c26..a247b65 100644
--- a/buildfct
+++ b/buildfct
@@ -43,8 +43,10 @@ alias mockfc26xscl72=" mock --configdir=$mocketc -r fc26xscl72
alias mockfc27i=" setarch i686 mock --configdir=$mocketc -r fc27i --arch i686 rebuild "
alias mockfc27i72="setarch i686 mock --configdir=$mocketc -r fc27i72 --arch i686 rebuild "
+alias mockfc27i73="setarch i686 mock --configdir=$mocketc -r fc27i73 --arch i686 rebuild "
alias mockfc27x=" mock --configdir=$mocketc -r fc27x rebuild "
alias mockfc27x72=" mock --configdir=$mocketc -r fc27x72 rebuild "
+alias mockfc27x73=" mock --configdir=$mocketc -r fc27x73 rebuild "
alias mockfc27xt=" mock --configdir=$mocketc -r fc27xt rebuild "
alias mockfc27xscl56=" mock --configdir=$mocketc -r fc27xscl56 rebuild "
alias mockfc27xscl70=" mock --configdir=$mocketc -r fc27xscl70 rebuild "
@@ -53,7 +55,9 @@ alias mockfc27xscl72=" mock --configdir=$mocketc -r fc27xscl72
alias mockfc27xscl73=" mock --configdir=$mocketc -r fc27xscl73 rebuild "
alias mockfc28i=" setarch i686 mock --configdir=$mocketc -r fc28i --arch i686 rebuild "
+alias mockfc28i73="setarch i686 mock --configdir=$mocketc -r fc28i73 --arch i686 rebuild "
alias mockfc28x=" mock --configdir=$mocketc -r fc28x rebuild "
+alias mockfc28x73=" mock --configdir=$mocketc -r fc28x73 rebuild "
alias mockfc28xscl56=" mock --configdir=$mocketc -r fc28xscl56 rebuild "
alias mockfc28xscl70=" mock --configdir=$mocketc -r fc28xscl70 rebuild "
alias mockfc28xscl71=" mock --configdir=$mocketc -r fc28xscl71 rebuild "
@@ -82,6 +86,7 @@ alias mockel6i56="setarch i686 mock --configdir=$mocketc -r el6i56 --arch i686 r
alias mockel6i70="setarch i686 mock --configdir=$mocketc -r el6i70 --arch i686 rebuild "
alias mockel6i71="setarch i686 mock --configdir=$mocketc -r el6i71 --arch i686 rebuild "
alias mockel6i72="setarch i686 mock --configdir=$mocketc -r el6i72 --arch i686 rebuild "
+alias mockel6i73="setarch i686 mock --configdir=$mocketc -r el6i73 --arch i686 rebuild "
alias mockel6x=" mock --configdir=$mocketc -r el6x rebuild "
alias mockel6xt=" mock --configdir=$mocketc -r el6xt rebuild "
alias mockel6x55=" mock --configdir=$mocketc -r el6x55 rebuild "
@@ -90,6 +95,7 @@ alias mockel6x56=" mock --configdir=$mocketc -r el6x56 r
alias mockel6x70=" mock --configdir=$mocketc -r el6x70 rebuild "
alias mockel6x71=" mock --configdir=$mocketc -r el6x71 rebuild "
alias mockel6x72=" mock --configdir=$mocketc -r el6x72 rebuild "
+alias mockel6x73=" mock --configdir=$mocketc -r el6x73 rebuild "
alias mockel6xscl54=" mock --configdir=$mocketc -r el6xscl54 rebuild "
alias mockel6xscl55=" mock --configdir=$mocketc -r el6xscl55 rebuild "
alias mockel6xscl56=" mock --configdir=$mocketc -r el6xscl56 rebuild "
@@ -106,6 +112,7 @@ alias mockel7x56=" mock --configdir=$mocketc -r el7x56 r
alias mockel7x70=" mock --configdir=$mocketc -r el7x70 rebuild "
alias mockel7x71=" mock --configdir=$mocketc -r el7x71 rebuild "
alias mockel7x72=" mock --configdir=$mocketc -r el7x72 rebuild "
+alias mockel7x73=" mock --configdir=$mocketc -r el7x73 rebuild "
alias mockel7xscl54=" mock --configdir=$mocketc -r el7xscl54 rebuild "
alias mockel7xscl55=" mock --configdir=$mocketc -r el7xscl55 rebuild "
alias mockel7xscl56=" mock --configdir=$mocketc -r el7xscl56 rebuild "
@@ -294,6 +301,28 @@ else
fi
}
+# Build All distribution / version / 32bits for remi/remi-php73
+mock73i()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ echo -n "$(date +%X) 73 fc28 "
+ setarch i686 mock $quiet --configdir=$mocketc -r fc28i73 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) 73 fc27 "
+ setarch i686 mock $quiet --configdir=$mocketc -r fc27i73 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) 73 el6 "
+ setarch i686 mock $quiet --configdir=$mocketc -r el6i73 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build all distribution / version / 32bits for remi-test
mockallit()
{
@@ -617,6 +646,32 @@ else
fi
}
+# Build All distribution / version / 64bits for remi/remi-php73
+mock73x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 28 27
+ do
+ echo -n "$(date +%X) 73 fc$i "
+ mock $quiet --configdir=$mocketc -r fc${i}x73 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ for i in 7 6
+ do
+ echo -n "$(date +%X) 73 el$i "
+ mock $quiet --configdir=$mocketc -r el${i}x73 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build All distribution / version / 64bits for remi/scl-php73
mockscl73x()
{
diff --git a/getmock b/getmock
index 65bc424..59ad33f 100755
--- a/getmock
+++ b/getmock
@@ -197,6 +197,10 @@ if [ $1 = php72 ]; then
opt=php72
shift
fi
+if [ $1 = php73 ]; then
+ opt=php73
+ shift
+fi
if [ $1 = glpi91 ]; then
opt=glpi91
shift
@@ -278,6 +282,20 @@ elif [ $1 = all72 ]; then
n=7
getOneMock el${n}x $opt '*7.2*'
+elif [ $1 = all73 ]; then
+ [ $opt = remi ] && opt=php73
+ [ $opt = test ] && opt=test73
+ for n in 27 28
+ do
+ getOneMock fc${n}i $opt '*7.3*'
+ getOneMock fc${n}x $opt '*7.3*'
+ done
+ n=6
+ getOneMock el${n}i $opt '*7.3*'
+ getOneMock el${n}x $opt '*7.3*'
+ n=7
+ getOneMock el${n}x $opt '*7.3*'
+
elif [ $1 = all54 ]; then
for n in 6
do