diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-10-13 12:04:03 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-10-13 12:04:03 +0200 |
commit | bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f (patch) | |
tree | 3cab443a90694ec090dab96e88d86bc011a32cf9 | |
parent | 2187907864bc9fcd3f9ad740cdfb89f96ae534f8 (diff) | |
download | buildscripts-bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f.tar.gz buildscripts-bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f.tar.bz2 buildscripts-bd8dbcd01bffd8b1035c0ea083ea33c51b99e01f.zip |
hopefully fix builds for Fedora/EPEL/Centos again
-rwxr-xr-x | bin/build-rpm-package | 4 |
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 |