[SCM] zam-plugins/master: Update get-orig-source.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Oct 26 17:50:06 UTC 2015


The following commit has been merged in the master branch:
commit a28ddc287444f0d9f5dab6350d0d894d8937f465
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Oct 26 18:49:55 2015 +0100

    Update get-orig-source.

diff --git a/debian/rules b/debian/rules
index cb53de4..46f9c11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,12 +24,8 @@ override_dh_auto_install:
 
 # get-orig-source to drop upstream .gitignore file
 get-orig-source:
-	git  clone  git://github.com/zamaudio/zam-plugins
-	cd $(pkg)
-	git submodule init
-	git submodule update
-	git checkout $(upstream_version)
-	cd ..
+	git  clone --recursive --branch $(upstream_version) git://github.com/zamaudio/zam-plugins
+	rm -fR $(pkg)/.git
 	find $(pkg)/ -name '.*' -delete
 	find $(pkg)/dpf/ -name '.*' -delete
 	tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)

-- 
zam-plugins packaging



More information about the pkg-multimedia-commits mailing list