summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-22 15:11:06 +0200
committerRemi Collet <remi@php.net>2023-08-22 15:11:06 +0200
commit6016bf5362719105b4fbf79b903def6722072346 (patch)
tree7691ecdbea21f3580aa42b5134b01a6f50d2db67 /buildfct
parent549475c8804d5be8d3531da2550c158ab58cf113 (diff)
Fedora 39 helpers
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct147
1 files changed, 76 insertions, 71 deletions
diff --git a/buildfct b/buildfct
index 8720d1f..0831fcf 100644
--- a/buildfct
+++ b/buildfct
@@ -5,56 +5,56 @@ 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 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 "
@@ -94,6 +94,22 @@ alias mockfc38xr70=" mock --configdir=$mocketc -r fc38xr70
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 "
+alias mockfc39x81=" mock --configdir=$mocketc -r fc39x81 rebuild "
+alias mockfc39x82=" mock --configdir=$mocketc -r fc39x82 rebuild "
+alias mockfc39xscl74=" mock --configdir=$mocketc -r fc39xscl74 rebuild "
+alias mockfc39xscl80=" mock --configdir=$mocketc -r fc39xscl80 rebuild "
+alias mockfc39xscl81=" mock --configdir=$mocketc -r fc39xscl81 rebuild "
+alias mockfc39xscl82=" mock --configdir=$mocketc -r fc39xscl82 rebuild "
+alias mockfc39xscl83=" mock --configdir=$mocketc -r fc39xscl83 rebuild "
+alias mockfc39xr60=" mock --configdir=$mocketc -r fc39xr60 rebuild "
+alias mockfc39xr62=" mock --configdir=$mocketc -r fc39xr62 rebuild "
+alias mockfc39xr70=" mock --configdir=$mocketc -r fc39xr70 rebuild "
+alias mockfc39xr72=" mock --configdir=$mocketc -r fc39xr72 rebuild "
+alias mockfc39xm=" mock --configdir=$mocketc -r fc39xm 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 "
alias mockel6i55="setarch i686 mock --configdir=$mocketc -r el6i55 --arch i686 rebuild "
@@ -293,7 +309,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 38 37 36
+ for i in 38 37
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo "$(date +%X) (8x) fc$i Ok." || echo "fc$1 Error !")&
@@ -330,9 +346,6 @@ if [ -f "$1" ]; then
(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 fc36x rebuild "$@" && echo "$(date +%X) (81) fc36 Ok." || echo "fc36 Error !")&
- pids="$pids $!"
- echo -n ""
(mock $quiet --configdir=$mocketc -r fc37x rebuild "$@" && echo "$(date +%X) (81) fc37 Ok." || echo "fc37 Error !")&
pids="$pids $!"
echo -n ""
@@ -508,7 +521,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36 38
+ for i in 37 38 39
do
echo -n "$(date +%X) 74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x74 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -534,7 +547,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 38
+ for i in 37 38 39
do
echo -n "$(date +%X) scl83 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -560,7 +573,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36 38
+ for i in 37 38 39
do
echo -n "$(date +%X) scl82 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -586,7 +599,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 38 36
+ for i in 37 38 39
do
echo -n "$(date +%X) scl81 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -614,8 +627,6 @@ fi
if [ -f "$1" ]; then
echo -n "$(date +%X) r60 f37 "
mock $quiet --configdir=$mocketc -r fc37xr60 rebuild "$@" && echo " Ok." || echo " Error !"
- echo -n "$(date +%X) r60 f36 "
- mock $quiet --configdir=$mocketc -r fc36xr60 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r60 el9 "
mock $quiet --configdir=$mocketc -r el9xr60 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r60 el8 "
@@ -640,8 +651,6 @@ fi
if [ -f "$1" ]; then
echo -n "$(date +%X) r62 f37 "
mock $quiet --configdir=$mocketc -r fc37xr62 rebuild "$@" && echo " Ok." || echo " Error !"
- echo -n "$(date +%X) r62 f36 "
- mock $quiet --configdir=$mocketc -r fc36xr62 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r62 el9 "
mock $quiet --configdir=$mocketc -r el9xr62 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r62 el8 "
@@ -666,8 +675,6 @@ fi
if [ -f "$1" ]; then
echo -n "$(date +%X) r72 f37 "
mock $quiet --configdir=$mocketc -r fc37xr72 rebuild "$@" && echo " Ok." || echo " Error !"
- echo -n "$(date +%X) r72 f36 "
- mock $quiet --configdir=$mocketc -r fc36xr72 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r72 el9 "
mock $quiet --configdir=$mocketc -r el9xr72 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r72 el8 "
@@ -692,8 +699,6 @@ fi
if [ -f "$1" ]; then
echo -n "$(date +%X) r70 f37 "
mock $quiet --configdir=$mocketc -r fc37xr70 rebuild "$@" && echo " Ok." || echo " Error !"
- echo -n "$(date +%X) r70 f36 "
- mock $quiet --configdir=$mocketc -r fc36xr70 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r70 el9 "
mock $quiet --configdir=$mocketc -r el9xr70 rebuild "$@" && echo " Ok." || echo " Error !"
echo -n "$(date +%X) r70 el8 "
@@ -716,7 +721,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36 38
+ for i in 37 38 39
do
echo -n "$(date +%X) 82 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x82 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -742,7 +747,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36 38
+ for i in 37 38 39
do
echo -n "$(date +%X) 81 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x81 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -768,7 +773,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36 38
+ for i in 37 38 39
do
echo -n "$(date +%X) 80 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x80 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -794,7 +799,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36 38
+ for i in 37 38 39
do
echo -n "$(date +%X) scl80 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -820,7 +825,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 38 36
+ for i in 37 38 39
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !"