Repository: cassandra-builds
Updated Branches:
  refs/heads/master e833f2184 -> 311046bf0


Remove specific OS distribution annotation from RPM build


Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/311046bf
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/311046bf
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/311046bf

Branch: refs/heads/master
Commit: 311046bf0e68879d2bf9ac33c902fa18d087adc5
Parents: e833f21
Author: Michael Shuler <mich...@pbandjelly.org>
Authored: Mon Jun 19 14:58:55 2017 -0500
Committer: Michael Shuler <mich...@pbandjelly.org>
Committed: Mon Jun 19 14:58:55 2017 -0500

----------------------------------------------------------------------
 docker/build-rpms.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/311046bf/docker/build-rpms.sh
----------------------------------------------------------------------
diff --git a/docker/build-rpms.sh b/docker/build-rpms.sh
index d39a3aa..2cd3049 100755
--- a/docker/build-rpms.sh
+++ b/docker/build-rpms.sh
@@ -46,7 +46,7 @@ if [ "$tag" ]; then
       exit 4
    fi
    CASSANDRA_VERSION=$git_version
-   CASSANDRA_REVISION='1%{?dist}'
+   CASSANDRA_REVISION='1'
 elif [ "$branch" ]; then
    # Dev branch
    is_branch=true
@@ -55,7 +55,7 @@ elif [ "$branch" ]; then
    CASSANDRA_VERSION="${buildxml_version}"
    dt=`date +"%Y%m%d"`
    ref=`git rev-parse --short HEAD`
-   CASSANDRA_REVISION="${dt}git${ref}%{?dist}"
+   CASSANDRA_REVISION="${dt}git${ref}"
 else
    echo "Error: invalid git reference; must either be branch or tag">&2
    exit 1


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to