[PATCH 1/2] Set Makefile and prepare round.sh

Sérgio M. Basto sergio at serjux.com
Tue Aug 9 03:36:13 CEST 2016


round.sh, now generate config against mock devel git version, where we have
the new f25-configs .

Signed-off-by: Sérgio M. Basto <sergio at serjux.com>
---
 Makefile |  2 +-
 round.sh | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)
 mode change 100644 => 100755 round.sh

diff --git a/Makefile b/Makefile
index 495bff8..51500b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 24.0
+VERSION = 25.0
 
 default: release-free release-nonfree release-kwizart
 
diff --git a/round.sh b/round.sh
old mode 100644
new mode 100755
index dd31211..cbf95d7
--- a/round.sh
+++ b/round.sh
@@ -1,8 +1,13 @@
 #!/bin/sh
 
 ARCHES="i386 x86_64 aarch64 armhfp ppc ppc64 ppc64le s390x"
-FVERSION="23 24 rawhide"
+FVERSION="23 24 25 rawhide"
 REPOS="rpmfusion_free rpmfusion_nonfree kwizart"
+#cd .. ; git clone https://git.fedorahosted.org/git/mock.git ; cd mock
+#git checkout devel
+etc_mock=../mock/etc/mock
+#to old config uncomment next line
+#etc_mock=/etc/mock
 
 
 for arch in $ARCHES ; do
@@ -18,12 +23,13 @@ for arch in $ARCHES ; do
   #fi
   if [ $fver = rawhide ] ; then
     flavour=rawhide
-    ffver=25
+    ffver=26
   fi
-  if [ ! -f /etc/mock/fedora-${fver}-${arch}.cfg ] ; then
+  if [ ! -f ${etc_mock}/fedora-${fver}-${arch}.cfg ] ; then
+    echo "doesnt exit ${etc_mock}/fedora-${fver}-${arch}.cfg"
     continue
   fi
-  cp /etc/mock/fedora-${fver}-${arch}.cfg fedora-${fver}-${arch}-${repo}.cfg
+  cp ${etc_mock}/fedora-${fver}-${arch}.cfg fedora-${fver}-${arch}-${repo}.cfg
   sed -i -e "s|^\"\"\"||g" fedora-${fver}-${arch}-${repo}.cfg
   cat rpmfusion-free-$flavour-template >> fedora-${fver}-${arch}-${repo}.cfg
   if [ ! "$repo" = rpmfusion_free ] ; then
-- 
2.5.5


More information about the rpmfusion-developers mailing list