summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index 9717bc4d..cc4466c1 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -477,6 +477,7 @@ def main(argv):
setup_builder(options, builder_args)
# Generate patches, if requested
+ if options.patch_export and not is_native(repo, options):
export_patches(repo, spec, tree, options)
# Prepare final export dirs