summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-08-20 14:13:01 +0200
committerRemi Collet <remi@php.net>2024-08-20 14:13:01 +0200
commit518831e5bcbc6cb2c73accf304cca9d8768a2087 (patch)
treeea62bc4ca6103088e3cbd874b48b25fc2ba35be8 /buildfct
parent994c2d5649ba4a4768ac2ad327ac773e0bf32997 (diff)
F38 is closed
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct160
1 files changed, 12 insertions, 148 deletions
diff --git a/buildfct b/buildfct
index f9b5468..4c6eb91 100644
--- a/buildfct
+++ b/buildfct
@@ -5,98 +5,6 @@ alias rhpkg='echo NO PLEASE, use fedpkg'
mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock
-#alias mockfc34i=" setarch i686 mock --configdir=$mocketc -r fc34i --arch i686 rebuild "
-#alias mockfc34x=" mock --configdir=$mocketc -r fc34x rebuild "
-#alias mockfc34xd=" mock --configdir=$mocketc -r fc34xd rebuild "
-#alias mockfc34xr=" mock --configdir=$mocketc -r fc34xr rebuild "
-#alias mockfc34x80=" mock --configdir=$mocketc -r fc34x80 rebuild "
-#alias mockfc34x81=" mock --configdir=$mocketc -r fc34x81 rebuild "
-#alias mockfc34xscl56=" mock --configdir=$mocketc -r fc34xscl56 rebuild "
-#alias mockfc34xscl70=" mock --configdir=$mocketc -r fc34xscl70 rebuild "
-#alias mockfc34xscl71=" mock --configdir=$mocketc -r fc34xscl71 rebuild "
-#alias mockfc34xscl72=" mock --configdir=$mocketc -r fc34xscl72 rebuild "
-#alias mockfc34xscl73=" mock --configdir=$mocketc -r fc34xscl73 rebuild "
-#alias mockfc34xscl74=" mock --configdir=$mocketc -r fc34xscl74 rebuild "
-#alias mockfc34xscl80=" mock --configdir=$mocketc -r fc34xscl80 rebuild "
-#alias mockfc34xscl81=" mock --configdir=$mocketc -r fc34xscl81 rebuild "
-
-#alias mockfc35i=" setarch i686 mock --configdir=$mocketc -r fc35i --arch i686 rebuild "
-#alias mockfc35x=" mock --configdir=$mocketc -r fc35x rebuild "
-#alias mockfc35xd=" mock --configdir=$mocketc -r fc35xd rebuild "
-#alias mockfc35xr=" mock --configdir=$mocketc -r fc35xr rebuild "
-#alias mockfc35x74=" mock --configdir=$mocketc -r fc35x74 rebuild "
-#alias mockfc35x81=" mock --configdir=$mocketc -r fc35x81 rebuild "
-#alias mockfc35n81=" mock --configdir=$mocketc -r fc35n81 rebuild "
-#alias mockfc35x82=" mock --configdir=$mocketc -r fc35x82 rebuild "
-#alias mockfc35xscl56=" mock --configdir=$mocketc -r fc35xscl56 rebuild "
-#alias mockfc35xscl70=" mock --configdir=$mocketc -r fc35xscl70 rebuild "
-#alias mockfc35xscl71=" mock --configdir=$mocketc -r fc35xscl71 rebuild "
-#alias mockfc35xscl72=" mock --configdir=$mocketc -r fc35xscl72 rebuild "
-#alias mockfc35xscl73=" mock --configdir=$mocketc -r fc35xscl73 rebuild "
-#alias mockfc35xscl74=" mock --configdir=$mocketc -r fc35xscl74 rebuild "
-#alias mockfc35xscl80=" mock --configdir=$mocketc -r fc35xscl80 rebuild "
-#alias mockfc35xscl81=" mock --configdir=$mocketc -r fc35xscl81 rebuild "
-#alias mockfc35xscl82=" mock --configdir=$mocketc -r fc35xscl82 rebuild "
-
-#alias mockfc36i=" setarch i686 mock --configdir=$mocketc -r fc36i --arch i686 rebuild "
-#alias mockfc36x=" mock --configdir=$mocketc -r fc36x rebuild "
-#alias mockfc36xd=" mock --configdir=$mocketc -r fc36xd rebuild "
-#alias mockfc36xr=" mock --configdir=$mocketc -r fc36xr rebuild "
-#alias mockfc36x74=" mock --configdir=$mocketc -r fc36x74 rebuild "
-#alias mockfc36x80=" mock --configdir=$mocketc -r fc36x80 rebuild "
-#alias mockfc36x81=" mock --configdir=$mocketc -r fc36x81 rebuild "
-#alias mockfc36x82=" mock --configdir=$mocketc -r fc36x82 rebuild "
-#alias mockfc36xscl74=" mock --configdir=$mocketc -r fc36xscl74 rebuild "
-#alias mockfc36xscl80=" mock --configdir=$mocketc -r fc36xscl80 rebuild "
-#alias mockfc36xscl81=" mock --configdir=$mocketc -r fc36xscl81 rebuild "
-#alias mockfc36xscl82=" mock --configdir=$mocketc -r fc36xscl82 rebuild "
-#alias mockfc36xr60=" mock --configdir=$mocketc -r fc36xr60 rebuild "
-#alias mockfc36xr62=" mock --configdir=$mocketc -r fc36xr62 rebuild "
-#alias mockfc36xr70=" mock --configdir=$mocketc -r fc36xr70 rebuild "
-#alias mockfc36xr72=" mock --configdir=$mocketc -r fc36xr72 rebuild "
-#alias mockfc36xm=" mock --configdir=$mocketc -r fc36xm rebuild "
-
-#alias mockfc37i=" setarch i686 mock --configdir=$mocketc -r fc37i --arch i686 rebuild "
-#alias mockfc37x=" mock --configdir=$mocketc -r fc37x rebuild "
-#alias mockfc37xd=" mock --configdir=$mocketc -r fc37xd rebuild "
-#alias mockfc37xr=" mock --configdir=$mocketc -r fc37xr rebuild "
-#alias mockfc37x74=" mock --configdir=$mocketc -r fc37x74 rebuild "
-#alias mockfc37x80=" mock --configdir=$mocketc -r fc37x80 rebuild "
-#alias mockfc37x81=" mock --configdir=$mocketc -r fc37x81 rebuild "
-#alias mockfc37x82=" mock --configdir=$mocketc -r fc37x82 rebuild "
-#alias mockfc37x83=" mock --configdir=$mocketc -r fc37x83 rebuild "
-#alias mockfc37xscl74=" mock --configdir=$mocketc -r fc37xscl74 rebuild "
-#alias mockfc37xscl80=" mock --configdir=$mocketc -r fc37xscl80 rebuild "
-#alias mockfc37xscl81=" mock --configdir=$mocketc -r fc37xscl81 rebuild "
-#alias mockfc37xscl82=" mock --configdir=$mocketc -r fc37xscl82 rebuild "
-#alias mockfc37xscl83=" mock --configdir=$mocketc -r fc37xscl83 rebuild "
-#alias mockfc37xr60=" mock --configdir=$mocketc -r fc37xr60 rebuild "
-#alias mockfc37xr62=" mock --configdir=$mocketc -r fc37xr62 rebuild "
-#alias mockfc37xr70=" mock --configdir=$mocketc -r fc37xr70 rebuild "
-#alias mockfc37xr72=" mock --configdir=$mocketc -r fc37xr72 rebuild "
-#alias mockfc37xm=" mock --configdir=$mocketc -r fc37xm rebuild "
-
-alias mockfc38i=" setarch i686 mock --configdir=$mocketc -r fc38i --arch i686 rebuild "
-alias mockfc38x=" mock --configdir=$mocketc -r fc38x rebuild "
-alias mockfc38xd=" mock --configdir=$mocketc -r fc38xd rebuild "
-alias mockfc38xr=" mock --configdir=$mocketc -r fc38xr rebuild "
-alias mockfc38x74=" mock --configdir=$mocketc -r fc38x74 rebuild "
-alias mockfc38x80=" mock --configdir=$mocketc -r fc38x80 rebuild "
-alias mockfc38x81=" mock --configdir=$mocketc -r fc38x81 rebuild "
-alias mockfc38x82=" mock --configdir=$mocketc -r fc38x82 rebuild "
-alias mockfc38x83=" mock --configdir=$mocketc -r fc38x83 rebuild "
-alias mockfc38xscl74=" mock --configdir=$mocketc -r fc38xscl74 rebuild "
-alias mockfc38xscl80=" mock --configdir=$mocketc -r fc38xscl80 rebuild "
-alias mockfc38xscl81=" mock --configdir=$mocketc -r fc38xscl81 rebuild "
-alias mockfc38xscl82=" mock --configdir=$mocketc -r fc38xscl82 rebuild "
-alias mockfc38xscl83=" mock --configdir=$mocketc -r fc38xscl83 rebuild "
-alias mockfc38xscl84=" mock --configdir=$mocketc -r fc38xscl84 rebuild "
-alias mockfc38xr60=" mock --configdir=$mocketc -r fc38xr60 rebuild "
-alias mockfc38xr62=" mock --configdir=$mocketc -r fc38xr62 rebuild "
-alias mockfc38xr70=" mock --configdir=$mocketc -r fc38xr70 rebuild "
-alias mockfc38xr72=" mock --configdir=$mocketc -r fc38xr72 rebuild "
-alias mockfc38xm=" mock --configdir=$mocketc -r fc38xm rebuild "
-
alias mockfc39x=" mock --configdir=$mocketc -r fc39x rebuild "
alias mockfc39x74=" mock --configdir=$mocketc -r fc39x74 rebuild "
alias mockfc39x80=" mock --configdir=$mocketc -r fc39x80 rebuild "
@@ -265,36 +173,6 @@ else
fi
}
-# Build All distribution / version / noarch for remi using PHP >= 8.0
-mock80n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 39 38
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo "$(date +%X) (8x) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild "$@" && echo "$(date +%X) (74) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el9x rebuild "$@" && echo "$(date +%X) (80) el9 Ok." || echo "el9 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
# Build All distribution / version / noarch for remi using PHP >= 8.1
mock81n()
{
@@ -313,9 +191,6 @@ if [ -f "$1" ]; then
(mock $quiet --configdir=$mocketc -r fc39x rebuild "$@" && echo "$(date +%X) (82) fc39 Ok." || echo "fc39 Error !")&
pids="$pids $!"
echo -n ""
- (mock $quiet --configdir=$mocketc -r fc38x rebuild "$@" && echo "$(date +%X) (82) fc38 Ok." || echo "fc38 Error !")&
- pids="$pids $!"
- echo -n ""
(mock $quiet --configdir=$mocketc -r el8n81 rebuild "$@" && echo "$(date +%X) (81) el8 Ok." || echo "el8 Error !")&
pids="$pids $!"
echo -n ""
@@ -346,9 +221,6 @@ if [ -f "$1" ]; then
(mock $quiet --configdir=$mocketc -r fc39x rebuild "$@" && echo "$(date +%X) (82) fc39 Ok." || echo "fc39 Error !")&
pids="$pids $!"
echo -n ""
- (mock $quiet --configdir=$mocketc -r fc38x rebuild "$@" && echo "$(date +%X) (82) fc38 Ok." || echo "fc38 Error !")&
- pids="$pids $!"
- echo -n ""
(mock $quiet --configdir=$mocketc -r el8n82 rebuild "$@" && echo "$(date +%X) (81) el8 Ok." || echo "el8 Error !")&
pids="$pids $!"
echo -n ""
@@ -434,7 +306,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 38 39 40
+ for i in 39 40
do
echo -n "$(date +%X) 74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x74 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -460,7 +332,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38 40
+ for i in 39 40
do
echo -n "$(date +%X) scl84 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl84 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -486,7 +358,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38 40
+ for i in 39 40
do
echo -n "$(date +%X) scl83 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -512,7 +384,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 40 38
+ for i in 39 40
do
echo -n "$(date +%X) scl82 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -538,7 +410,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38 40
+ for i in 39 40
do
echo -n "$(date +%X) scl81 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -564,8 +436,6 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- echo -n "$(date +%X) r60 f38 "
- mock $quiet --configdir=$mocketc -r fc38xr60 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r60 f39 "
mock $quiet --configdir=$mocketc -r fc39xr60 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r60 el9 "
@@ -588,8 +458,6 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- echo -n "$(date +%X) r62 f38 "
- mock $quiet --configdir=$mocketc -r fc38xr62 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r62 f39 "
mock $quiet --configdir=$mocketc -r fc39xr62 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r62 el9 "
@@ -612,8 +480,6 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- echo -n "$(date +%X) r72 f38 "
- mock $quiet --configdir=$mocketc -r fc38xr72 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r72 f39 "
mock $quiet --configdir=$mocketc -r fc39xr72 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r72 el9 "
@@ -636,8 +502,6 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- echo -n "$(date +%X) r70 f38 "
- mock $quiet --configdir=$mocketc -r fc38xr70 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r70 f39 "
mock $quiet --configdir=$mocketc -r fc39xr70 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r70 el9 "
@@ -660,7 +524,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 38 40 39
+ for i in 40 39
do
echo -n "$(date +%X) 83 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x83 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -707,7 +571,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 38 39
+ for i in 39
do
echo -n "$(date +%X) 83 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x83 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -728,7 +592,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 40 39 38
+ for i in 40 39
do
echo -n "$(date +%X) 82 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x82 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -754,7 +618,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 38 40 39
+ for i in 40 39
do
echo -n "$(date +%X) 81 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x81 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -780,7 +644,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 38 39 40
+ for i in 39 40
do
echo -n "$(date +%X) 80 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x80 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -806,7 +670,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 40 38
+ for i in 39 40
do
echo -n "$(date +%X) scl80 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -832,7 +696,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 40 39 38
+ for i in 40 39
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !"