summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-06-27 09:49:35 +0200
committerRemi Collet <remi@remirepo.net>2019-06-27 09:49:35 +0200
commit5b6d2bb16a0eed544143e77a7152da2dbfb0ce9b (patch)
tree311b0ec2611684057b2eb99b93c8d86e0e6ed179
parentab38f61d27ae2ca15729b0b1828c5bdc11a1cdd3 (diff)
scl php74 stuff
-rw-r--r--buildfct31
-rwxr-xr-xgetmock16
2 files changed, 47 insertions, 0 deletions
diff --git a/buildfct b/buildfct
index 3eb1876..05fc91e 100644
--- a/buildfct
+++ b/buildfct
@@ -53,6 +53,7 @@ alias mockfc29xscl70=" mock --configdir=$mocketc -r fc29xscl70
alias mockfc29xscl71=" mock --configdir=$mocketc -r fc29xscl71 rebuild "
alias mockfc29xscl72=" mock --configdir=$mocketc -r fc29xscl72 rebuild "
alias mockfc29xscl73=" mock --configdir=$mocketc -r fc29xscl73 rebuild "
+alias mockfc29xscl74=" mock --configdir=$mocketc -r fc29xscl74 rebuild "
alias mockfc30i=" setarch i686 mock --configdir=$mocketc -r fc30i --arch i686 rebuild "
alias mockfc30ir=" setarch i686 mock --configdir=$mocketc -r fc30ir --arch i686 rebuild "
@@ -63,6 +64,7 @@ alias mockfc30xscl70=" mock --configdir=$mocketc -r fc30xscl70
alias mockfc30xscl71=" mock --configdir=$mocketc -r fc30xscl71 rebuild "
alias mockfc30xscl72=" mock --configdir=$mocketc -r fc30xscl72 rebuild "
alias mockfc30xscl73=" mock --configdir=$mocketc -r fc30xscl73 rebuild "
+alias mockfc30xscl74=" mock --configdir=$mocketc -r fc30xscl74 rebuild "
alias mockel6i=" setarch i686 mock --configdir=$mocketc -r el6i --arch i686 rebuild "
alias mockel6it=" setarch i686 mock --configdir=$mocketc -r el6it --arch i686 rebuild "
@@ -106,8 +108,10 @@ alias mockel7xscl70=" mock --configdir=$mocketc -r el7xscl70 r
alias mockel7xscl71=" mock --configdir=$mocketc -r el7xscl71 rebuild "
alias mockel7xscl72=" mock --configdir=$mocketc -r el7xscl72 rebuild "
alias mockel7xscl73=" mock --configdir=$mocketc -r el7xscl73 rebuild "
+alias mockel7xscl74=" mock --configdir=$mocketc -r el7xscl74 rebuild "
alias mockel8x=" mock --configdir=$mocketc -r el8x rebuild "
+alias mockel8xr=" mock --configdir=$mocketc -r el8xr rebuild "
alias mockel8x72=" mock --configdir=$mocketc -r el8x72 rebuild "
alias mockel8x73=" mock --configdir=$mocketc -r el8x73 rebuild "
alias mockel8xscl56=" mock --configdir=$mocketc -r el8xscl56 rebuild "
@@ -115,6 +119,7 @@ alias mockel8xscl70=" mock --configdir=$mocketc -r el8xscl70 r
alias mockel8xscl71=" mock --configdir=$mocketc -r el8xscl71 rebuild "
alias mockel8xscl72=" mock --configdir=$mocketc -r el8xscl72 rebuild "
alias mockel8xscl73=" mock --configdir=$mocketc -r el8xscl73 rebuild "
+alias mockel8xscl74=" mock --configdir=$mocketc -r el8xscl74 rebuild "
alias mockdevi="setarch i686 mock -r fedora-devel-i386 rebuild "
alias mockdevx=" mock -r fedora-devel-x86_64 rebuild "
@@ -765,6 +770,32 @@ fi
}
# Build All distribution / version / 64bits for remi/scl-php73
+mockscl74x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 29 30
+ do
+ echo -n "$(date +%X) scl74 fc$i "
+ mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ for i in 7 8
+ do
+ echo -n "$(date +%X) scl74 el$i "
+ mock $quiet --configdir=$mocketc -r el${i}xscl74 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()
{
quiet=""
diff --git a/getmock b/getmock
index 572ad6b..0618328 100755
--- a/getmock
+++ b/getmock
@@ -15,6 +15,9 @@ esac
rep=${2-remi}
case $dep in
+scl74el*) dep=${dep#scl74el}
+ type=enterprise
+ ;;
scl73el*) dep=${dep#scl73el}
type=enterprise
;;
@@ -62,6 +65,9 @@ el*) dep=${dep#el}
fc*) dep=${dep#fc}
type=fedora
;;
+scl74fc*) dep=${dep#scl74fc}
+ type=fedora
+ ;;
scl73fc*) dep=${dep#scl73fc}
type=fedora
;;
@@ -399,6 +405,16 @@ elif [ $1 = scl71 ]; then
getOneMock scl71el${i}x $opt
done
+elif [ $1 = scl74 ]; then
+ for i in 29 30
+ do
+ getOneMock scl74fc${i}x $opt
+ done
+ for i in 7 8
+ do
+ getOneMock scl74el${i}x $opt
+ done
+
elif [ $1 = scl73 ]; then
for i in 27 28 29 30
do