[Pkg-bitcoin-commits] [libblkmaker] 01/02: rules: cleanup (removed override_dh_builddeb and get-orig-source)

Dmitry Smirnov onlyjob at moszumanska.debian.org
Mon Apr 6 02:45:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch master
in repository libblkmaker.

commit 7a77532
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Mon Apr 6 01:23:22 2015

    rules: cleanup (removed override_dh_builddeb and get-orig-source)
---
 debian/rules | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/debian/rules b/debian/rules
index f925b85..c6dec4f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,31 +55,3 @@ override_dh_strip:
 	[ -d "$(CURDIR)/debian/$(pdbg)" ] \
         && dh_strip --dbg-package=$(pdbg) \
         || dh_strip
-
-override_dh_builddeb:
-	dh_builddeb -- -Zxz
-
-## http://wiki.debian.org/onlyjob/get-orig-source
-VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-.PHONY: get-orig-source
-get-orig-source: $(PKG)_$(VER).orig.tar.xz
-	@
-
-UURL = git://gitorious.org/bitcoin/libblkmaker.git
-$(PKG)_$(VER).orig.tar.xz:
-	$(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
-	@echo "# Downloading..."
-	git clone $(UURL) $(PKG)-$(VER) \
-        || $(RM) -r $(PKG)-$(VER)
-	cd $(PKG)-$(VER) \
-        && git checkout v$(VER) \
-        && echo "# Setting times..." \
-        && for F in $$(git ls-tree -r --name-only HEAD); do touch --no-dereference -d "$$(git log -1 --format="%ai" -- $$F)" "$$F"; done \
-        && [ -s ChangeLog ] || ( echo "# Generating ChangeLog..." \
-           ; git log --pretty="format:%ad  %aN  <%aE>%n%n%x09* %s%n" --date=short > ChangeLog \
-           ; touch -d "$$(git log -1 --format='%ci')" ChangeLog) \
-        && $(RM) -r .git .git*
-	@echo "# Packing..."
-	find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
-        | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
-        && $(RM) -r "$(PKG)-$(VER)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libblkmaker.git



More information about the Pkg-bitcoin-commits mailing list