summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-21 08:28:56 +0200
committerRemi Collet <remi@remirepo.net>2020-08-21 08:28:56 +0200
commit3b4d4a7407bd5cface36ae23bb9c1eaafb7bb80c (patch)
tree479553442d52df041e23cd7d6762d05cff017049
parente44c4ab788e2d3f6cdc472e2b8df7bd20c8d1205 (diff)
more for F33
-rw-r--r--buildfct113
-rwxr-xr-xgetmock12
2 files changed, 13 insertions, 112 deletions
diff --git a/buildfct b/buildfct
index eeef6fa..ccad0a5 100644
--- a/buildfct
+++ b/buildfct
@@ -476,105 +476,6 @@ else
fi
}
-# Build All distribution / version / noarch for remi/remi-php56
-mock56n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 31 30
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (56) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- for i in 7 6
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo "$(date +%X) (56) el$i Ok." || echo "el$i Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / noarch for remi using PHP >= 7.0
-mock70n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 31 30
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (70) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- for i in 7 6
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x70 rebuild $1 && echo "$(date +%X) (70) el$i Ok." || echo "el$i Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / noarch for remi using PHP >= 7.1
-mock71n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 31 30
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (71) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- for i in 7 6
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x71 rebuild $1 && echo "$(date +%X) (71) el$i Ok." || echo "el$i Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
# Build All distribution / version / noarch for remi using PHP >= 7.2
mock72n()
{
@@ -586,7 +487,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 32 31 30
+ for i in 32 31 30 33
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
@@ -619,7 +520,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 32 31 30
+ for i in 32 31 30 33
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
@@ -885,7 +786,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 30 33
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !"
@@ -911,7 +812,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 30 33
do
echo -n "$(date +%X) scl73 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !"
@@ -937,7 +838,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30 32
+ for i in 31 30 32 33
do
echo -n "$(date +%X) scl72 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !"
@@ -989,7 +890,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 33 30
do
echo -n "$(date +%X) scl70 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !"
@@ -1015,7 +916,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 30 33
do
echo -n "$(date +%X) scl56 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !"
diff --git a/getmock b/getmock
index 4a0743f..d779abf 100755
--- a/getmock
+++ b/getmock
@@ -401,7 +401,7 @@ elif [ $1 = scl55 ]; then
done
elif [ $1 = scl56 ]; then
- for i in 30 31 32
+ for i in 33 30 31 32
do
getOneMock scl56fc${i}x $opt
done
@@ -411,7 +411,7 @@ elif [ $1 = scl56 ]; then
done
elif [ $1 = scl70 ]; then
- for i in 30 31 32
+ for i in 30 31 32 33
do
getOneMock scl70fc${i}x $opt
done
@@ -421,7 +421,7 @@ elif [ $1 = scl70 ]; then
done
elif [ $1 = scl71 ]; then
- for i in 30 31 32
+ for i in 30 31 32 33
do
getOneMock scl71fc${i}x $opt
done
@@ -441,7 +441,7 @@ elif [ $1 = scl80 ]; then
done
elif [ $1 = scl74 ]; then
- for i in 30 31 32
+ for i in 30 31 32 33
do
getOneMock scl74fc${i}x $opt
done
@@ -451,7 +451,7 @@ elif [ $1 = scl74 ]; then
done
elif [ $1 = scl73 ]; then
- for i in 30 31 32
+ for i in 30 31 32 33
do
getOneMock scl73fc${i}x $opt
done
@@ -461,7 +461,7 @@ elif [ $1 = scl73 ]; then
done
elif [ $1 = scl72 ]; then
- for i in 30 31 32
+ for i in 30 31 32 33
do
getOneMock scl72fc${i}x $opt
done