[PATCH 2/2] Do not replace basearch and releasever

Sérgio M. Basto sergio at serjux.com
Thu Nov 10 06:40:29 CET 2016


I don't see any advantage

Signed-off-by: Sérgio M. Basto <sergio at serjux.com>
---
 el-round.sh | 4 ++--
 round.sh    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/el-round.sh b/el-round.sh
index d3d85d1..cceeb19 100755
--- a/el-round.sh
+++ b/el-round.sh
@@ -36,8 +36,8 @@ for arch in $ARCHES ; do
   fi
   echo "\"\"\"" >> epel-${fver}-${arch}-${repo}.cfg
   #git add fedora-${fver}-${arch}-${repo}.cfg
-  sed -i -e "s|\$basearch|${arch}|g" epel-${fver}-${arch}-${repo}.cfg
-  sed -i -e "s|\$releasever|${fver}|g" epel-${fver}-${arch}-${repo}.cfg
+  #sed -i -e "s|\$basearch|${arch}|g" epel-${fver}-${arch}-${repo}.cfg
+  #sed -i -e "s|\$releasever|${fver}|g" epel-${fver}-${arch}-${repo}.cfg
   mv epel-${fver}-${arch}-${repo}.cfg etc/mock
   #sed -i -e "s|mirrorlist=http://mirrors.rpmfusion.org|#mirrorlist=http://mirrors.rpmfusion.org|g" fedora-${fver}-${arch2}-${repo}.cfg
   #sed -i -e "s|kojipkgs.fedoraproject.org|sparc.koji.fedoraproject.org|g" fedora-${fver}-${arch2}-${repo}.cfg
diff --git a/round.sh b/round.sh
index 39a628e..760181e 100755
--- a/round.sh
+++ b/round.sh
@@ -42,8 +42,8 @@ for arch in $ARCHES ; do
   fi
   echo "\"\"\"" >> fedora-${fver}-${arch}-${repo}.cfg
   #git add fedora-${fver}-${arch}-${repo}.cfg
-  sed -i -e "s|\$basearch|${arch}|g" fedora-${fver}-${arch}-${repo}.cfg
-  sed -i -e "s|\$releasever|${fver}|g" fedora-${fver}-${arch}-${repo}.cfg
+  #sed -i -e "s|\$basearch|${arch}|g" fedora-${fver}-${arch}-${repo}.cfg
+  #sed -i -e "s|\$releasever|${fver}|g" fedora-${fver}-${arch}-${repo}.cfg
   if [  ! $arch == i386 -a ! $arch == x86_64 ] ; then
     if [ "$arch" == "armhfp" -a "${ffver}" -gt "19" ] ; then
         :
-- 
2.5.5


More information about the rpmfusion-developers mailing list