summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-04-02 10:30:58 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-04-02 10:51:04 +0300
commitc816778457fb2a55a6fc2747f29b2aa31d0b7a96 (patch)
tree7ccb5124c5a664a4911d88cc84b80b27ef9d0516
parentf04d3c96e3612855e23c87d60a2614ac6ee71a50 (diff)
downloadgit-buildpackage-c816778457fb2a55a6fc2747f29b2aa31d0b7a96.tar.gz
git-buildpackage-c816778457fb2a55a6fc2747f29b2aa31d0b7a96.tar.bz2
git-buildpackage-c816778457fb2a55a6fc2747f29b2aa31d0b7a96.zip
buildpackage-rpm: Revert tarball creation HACKs
Revert commits f04d3c96e3612855e23c87d60a2614ac6ee71a50 and 2d2c204fed2a40fba23fe8379ac49357e3904cc1. We cannot do this for native packages for which the orig source tarball changes after every change.
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index fc658763..8e39910c 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -542,7 +542,7 @@ def main(argv):
# Get/build the orig tarball
if is_native(repo, options):
- if spec.orig_src and not RpmPkgPolicy.has_orig(spec.orig_src['filename'], source_dir):
+ if spec.orig_src:
# Just build source archive from the exported tree
gbp.log.info("Creating (native) source archive %s from '%s'" % (spec.orig_src['filename'], tree))
if spec.orig_src['compression']: