[Pkg-wmaker-commits] [wmcore] 01/01: Modify get-orig-source target in d/rules to repack tarball without *.o.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Mar 19 01:46:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcore.
commit a31f04f27697793678319c833c22609ad9abfa18
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Wed Mar 9 06:30:00 2016 -0500
Modify get-orig-source target in d/rules to repack tarball without *.o.
---
debian/README.source | 8 ++++++++
debian/changelog | 2 +-
debian/rules | 7 +++++--
3 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..998f7bc
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+wmcore for Debian
+-----------------
+
+The upstream tarball ships with the binary and object files. We remove these
+and repack with a +ds suffix. This process may be reproduced by running
+"debian/rules get-orig-source".
+
+ -- Doug Torrance <dtorrance at piedmont.edu>, Fri, 18 Mar 2016 21:40:06 -0400
diff --git a/debian/changelog b/debian/changelog
index 2d5f5e0..4d47d8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-wmcore (0.0.2-1) unstable; urgency=low
+wmcore (0.0.2+ds-1) unstable; urgency=low
* Initial release (Closes: #668081).
diff --git a/debian/rules b/debian/rules
index 74c4882..94aadb8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,14 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-UVER = $(shell dpkg-parsechangelog -S Version | sed 's/-[^-]$$//g')
+UVER = $(shell dpkg-parsechangelog -S Version | sed 's/\+ds.*//')
%:
dh $@
get-orig-source:
wget http://www.bitmania.de/pub/wmcore-$(UVER).tar.gz
- mv wmcore-$(UVER).tar.gz ../wmcore_$(UVER).orig.tar.gz
+ gunzip wmcore-$(UVER).tar.gz
+ tar --file=wmcore-$(UVER).tar --delete --wildcards *.o */wmcore
+ gzip -n wmcore-$(UVER).tar
+ mv wmcore-$(UVER).tar.gz ../wmcore_$(UVER)+ds.orig.tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcore.git
More information about the Pkg-wmaker-commits
mailing list