[DRE-commits] [ruby-rspec] 01/08: add a task to repack the source in a unique tarball
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Aug 20 13:40:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-rspec.
commit 4819da6310c1a5426096acae2f457f940eefdec9
Author: Cédric Boutillier <boutil at debian.org>
Date: Mon Jul 27 08:11:57 2015 +0200
add a task to repack the source in a unique tarball
---
debian/rules | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index d7ee067..e3d0369 100755
--- a/debian/rules
+++ b/debian/rules
@@ -91,8 +91,15 @@ unpack-sources:
tar -C $$x -xzf ../ruby-rspec_$(UPSTREAM_VERSION).orig-$$x.tar.gz --strip-components=1; \
done
-
-
+repack-sources:
+ mkdir -p ruby-rspec_$(UPSTREAM_VERSION).orig
+ for x in rspec rspec-core rspec-expectations rspec-mocks rspec-support; do \
+ mkdir -p ruby-rspec_$(UPSTREAM_VERSION).orig/$$x; \
+ tar -C ruby-rspec_$(UPSTREAM_VERSION).orig/$$x -xzf ../ruby-rspec_$(UPSTREAM_VERSION).orig-$$x.tar.gz --strip-components=1; \
+ done
+ GZIP=--best tar -cz --owner root --group root --mode a+rX -f \
+ ../ruby-rspec_$(UPSTREAM_VERSION).orig.tar.gz ruby-rspec_$(UPSTREAM_VERSION).orig
+ rm -rf ruby-rspec_$(UPSTREAM_VERSION).orig
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec.git
More information about the Pkg-ruby-extras-commits
mailing list