summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--buildfct31
-rwxr-xr-xgetmock14
2 files changed, 34 insertions, 11 deletions
diff --git a/buildfct b/buildfct
index c4a5a40..1394999 100644
--- a/buildfct
+++ b/buildfct
@@ -143,7 +143,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 29 28 27
+ for i in 30 29 28 27
do
echo -n "$(date +%X) fc$i "
setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
@@ -359,7 +359,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 29 28 27
+ for i in 29 28 27 30
do
echo -n "$(date +%X) fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
@@ -571,6 +571,29 @@ else
fi
}
+# Build All EL distributions
+mockel()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 8 7 6
+ do
+ echo -n "$(date +%X) el${i}x "
+ mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ echo -n "$(date +%X) el6i "
+ setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build All distribution / version / 64bits for remi/remi-php56
mock56x()
{
@@ -774,7 +797,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 29 28 27
+ for i in 29 30 28 27
do
echo -n "$(date +%X) scl70 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !"
@@ -800,7 +823,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 29 28 27
+ for i in 29 28 30 27
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 3879c5d..2c87c8a 100755
--- a/getmock
+++ b/getmock
@@ -254,7 +254,7 @@ if [ $1 = devs -o $1 = dev ]; then
fi
if [ $1 = all ]; then
- for i in 26 27 28 29
+ for i in 27 28 29 30
do
getOneMock fc${i}i $opt
done
@@ -301,7 +301,7 @@ elif [ $1 = all71 ]; then
elif [ $1 = all72 ]; then
[ $opt = remi ] && opt=php72
[ $opt = test ] && opt=test72
- for n in 26 27
+ for n in 27
do
getOneMock fc${n}i $opt '*7.2*'
getOneMock fc${n}x $opt '*7.2*'
@@ -348,7 +348,7 @@ elif [ $1 = for55 ]; then
done
elif [ $1 = allx ]; then
- for i in 26 27 28 29
+ for i in 27 28 29 30
do
getOneMock fc${i}x $opt
done
@@ -370,7 +370,7 @@ elif [ $1 = scl55 ]; then
done
elif [ $1 = scl56 ]; then
- for i in 26 27 28 29
+ for i in 27 28 29 30
do
getOneMock scl56fc${i}x $opt
done
@@ -380,7 +380,7 @@ elif [ $1 = scl56 ]; then
done
elif [ $1 = scl70 ]; then
- for i in 26 27 28 29
+ for i in 27 28 29 30
do
getOneMock scl70fc${i}x $opt
done
@@ -390,7 +390,7 @@ elif [ $1 = scl70 ]; then
done
elif [ $1 = scl71 ]; then
- for i in 26 27 28 29
+ for i in 27 28 29
do
getOneMock scl71fc${i}x $opt
done
@@ -410,7 +410,7 @@ elif [ $1 = scl73 ]; then
done
elif [ $1 = scl72 ]; then
- for i in 26 27 28 29
+ for i in 27 28 29
do
getOneMock scl72fc${i}x $opt
done