summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-13 12:04:03 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-13 12:04:03 +0200
commitbd8dbcd01bffd8b1035c0ea083ea33c51b99e01f (patch)
tree3cab443a90694ec090dab96e88d86bc011a32cf9
parent2187907864bc9fcd3f9ad740cdfb89f96ae534f8 (diff)
downloadbuildscripts-bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f.tar.gz
buildscripts-bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f.tar.bz2
buildscripts-bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f.zip
hopefully fix builds for Fedora/EPEL/Centos again
-rwxr-xr-xbin/build-rpm-package4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index b73f721..8e7e524 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -211,7 +211,9 @@ build_packages() {
# create the SRPM package
if [ "x$l_DIST" != "xopensuse" ]; then
- rpmbuild -D "%_topdir $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild" -bs $PROJECT.spec
+ rpmbuild -D "%_topdir $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild" \
+ "%_vendor centos" \
+ -bs $PROJECT.spec
else
cp $PROJECT.spec $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES
fi