summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <andrew.shadura@collabora.co.uk>2017-11-06 10:22:03 +0100
committerHéctor Orón Martínez <zumbi@debian.org>2019-09-01 01:59:08 +0200
commitcf29ba5d3ec1e37cef7b5f363d103beac1f85571 (patch)
tree1495b8b7b4393e36a2da443a5b8f5b9e6121cfde
parent6adf830df033b527ca593184f4ff226659ac4075 (diff)
build-recipe-dsc: don't rebuild the source package
If we use build suffixes, rebuilding the source package will result in the build suffix being included into the source package, which we'd rather avoid. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Forwarded: https://github.com/openSUSE/obs-build/pull/459 Last-Update: 2018-08-30 Gbp-Pq: Name build-recipe-dsc-don-t-rebuild-the-source-package.patch
-rw-r--r--build-recipe-dsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-recipe-dsc b/build-recipe-dsc
index 79cfc66..c104890 100644
--- a/build-recipe-dsc
+++ b/build-recipe-dsc
@@ -95,7 +95,7 @@ dsc_build() {
# this allows the build environment to be manipulated
# and alternate build commands can be used
DSC_BUILD_CMD="$(queryconfig --dist "$BUILD_DIST" --archpath "$BUILD_ARCH" --configdir "$CONFIG_DIR" substitute dsc:build_cmd)"
- test -z "$DSC_BUILD_CMD" && DSC_BUILD_CMD="dpkg-buildpackage -us -uc"
+ test -z "$DSC_BUILD_CMD" && DSC_BUILD_CMD="dpkg-buildpackage -us -uc -b"
if test -e $buildroot/$TOPDIR/SOURCES/build.script ; then
echo "Sourcing build.script to build - it should normally run 'dpkg-buildpackage -us -uc'"
DSC_BUILD_CMD="source $TOPDIR/SOURCES/build.script"