[X2Go-Commits] [buildscripts] 01/01: hopefully fix source builds for Fedora/RHEL
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 13 12:12:29 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 03494ac2042aeb2d3b59f09ab05baa5f97eb85aa
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Oct 13 12:12:27 2014 +0200
hopefully fix source builds for Fedora/RHEL
---
bin/build-rpm-package | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 6f52097..5da81b4 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -210,9 +210,13 @@ build_packages() {
tar -czf $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/$PROJECT-$UPSTREAM_VERSION.tar.gz $PROJECT-$UPSTREAM_VERSION
# create the SRPM package
- if [ "x$l_DIST" != "xopensuse" ]; then
+ if [ "x$l_DIST" = "xfedora" ]; then
rpmbuild -D "%_topdir $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild" \
- "%_vendor centos" \
+ "%_vendor fedora" \
+ -bs $PROJECT.spec
+ elif [ "x$l_DIST" = "xepel" ]; then
+ rpmbuild -D "%_topdir $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild" \
+ "%_vendor rhel" \
-bs $PROJECT.spec
else
cp $PROJECT.spec $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list