summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-09 11:11:45 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-09 11:11:45 +0200
commit550c9446e301da59ba39f72a95b4cc838e8d1506 (patch)
tree8ecec43881ca3dd865258c32912640858360d843 /buildfct
parentceec75b289dfb468e6ea6b53852f16349228dd5f (diff)
add help for noarch with php > 5.5
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct31
1 files changed, 31 insertions, 0 deletions
diff --git a/buildfct b/buildfct
index 8971592..f705e0f 100644
--- a/buildfct
+++ b/buildfct
@@ -331,6 +331,37 @@ else
fi
}
+# Build All distribution / version / noarch for remi/remi-php55
+mock55n()
+{
+quiet="--quiet"
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ date +%X
+ pids=""
+ for i in 21 22 20 19
+ do
+ echo -n ""
+ (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (55+) fc$i Ok." || echo "fc$1 Error !")&
+ pids="$pids $!"
+ done
+ for i in 7 6 5
+ do
+ echo -n ""
+ (mock $quiet --configdir=$mocketc -r el${i}x55 rebuild $1 && echo "$(date +%X) (55) el$i Ok." || echo "el$i Error !")&
+ pids="$pids $!"
+ done
+ wait $pids
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build All distribution / version / 64bits for remi/remi-php55
mock55x()
{