Patchwork [1,of,2,stable] buildrpm: fix use of invalid $PLATFORM in mercurial.repo

login
register
mail settings
Submitter Mads Kiilerich
Date Nov. 1, 2014, 7:01 p.m.
Message ID <f55f9cec4df6c9289917.1414868477@localhost.localdomain>
Download mbox | patch
Permalink /patch/6510/
State Accepted
Headers show

Comments

Mads Kiilerich - Nov. 1, 2014, 7:01 p.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1414868400 -3600
#      Sat Nov 01 20:00:00 2014 +0100
# Branch stable
# Node ID f55f9cec4df6c9289917f2a2af7fdd2e6718c52f
# Parent  2dc6b7917cdfbba243ecbaad93b2d375124e8521
buildrpm: fix use of invalid $PLATFORM in mercurial.repo

Patch

diff --git a/contrib/dockerrpm b/contrib/dockerrpm
--- a/contrib/dockerrpm
+++ b/contrib/dockerrpm
@@ -45,9 +45,9 @@  DSHARED=/mnt/shared
 cat << EOF > $RPMBUILDDIR/mercurial.repo
 # Place this file in /etc/yum.repos.d/mercurial.repo
 [mercurial]
-name=Mercurial packages for $NAME
+name=Mercurial packages for $PLATFORM
 # baseurl=file://$RPMBUILDDIR/
-baseurl=http://hg.example.com/build/$NAME/
+baseurl=http://hg.example.com/build/$PLATFORM/
 skip_if_unavailable=True
 gpgcheck=0
 enabled=1