[X2Go-Commits] [buildscripts] 01/01: no dashes in RPM release strings
git-admin at x2go.org
git-admin at x2go.org
Wed Feb 4 22:31:18 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit bf3b55a19f3ecec7e6e4389ea253a392151eadb1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Feb 4 22:31:13 2015 +0100
no dashes in RPM release strings
---
bin/build-rpm-package | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 8baee9b..ffde823 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -187,7 +187,7 @@ build_packages() {
mv $PROJECT/$PROJECT.spec .
UPSTREAM_VERSION=$(cat $PROJECT.spec | egrep "^Version:.*" | awk '{ print $2 }')
- PKG_RELEASE=$(cat $PROJECT.spec | egrep "^Release:.*" | awk '{ print $2 }')
+ PKG_RELEASE=$(cat $PROJECT.spec | egrep "^Release:.*" | awk '{ print $2 }' | sed 's/-//')
PKG_SRCRELEASE=$(echo $PKG_RELEASE | sed -e 's/%{?dist}//')
IS_NOARCH=$(cat $PROJECT.spec | egrep "^BuildArch:.*noarch\$" 1>/dev/null 2>/dev/null && echo yes || echo no)
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list