[SCM] zam-plugins/master: Repacking by copyright file now.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Fri Oct 13 08:26:00 UTC 2017
The following commit has been merged in the master branch:
commit 51267ed03e0b86a4bf53e5c1423382a17b639fd0
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Fri Oct 13 10:23:36 2017 +0200
Repacking by copyright file now.
diff --git a/debian/copyright b/debian/copyright
index 6de15d9..3711766 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: zam-plugins
Upstream-Contact: Damien Zammit <damien at zamaudio.com>
Source: https://github.com/zamaudio/zam-plugins
+Files-Excluded:
+ .*
+ dpf
Files: *
Copyright: 2013-2015 Damien Zammit
diff --git a/debian/rules b/debian/rules
index d1d957f..64a0327 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,6 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
-upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p')
-dfsg_version = $(upstream_version)~repack2
-pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
noopt = $(if $(filter amd64,$(DEB_HOST_ARCH)),NOOPT=false,NOOPT=true)
%:
@@ -23,15 +20,3 @@ override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/zam-plugins \
PREFIX=/usr
chmod 644 $(CURDIR)/debian/zam-plugins/usr/lib/lv2/*/*.ttl
-
-# get-orig-source to drop upstream .gitignore file
-get-orig-source:
- git clone --recursive --branch $(upstream_version) git://github.com/zamaudio/zam-plugins
- rm -fR $(pkg)/.git
-# rm $(pkg)/dpf/dgl/src/oui-blendish/resources/blender_icons.svg
- find $(pkg)/ -name '.*' -delete
- find $(pkg)/dpf/ -name '.*' -delete
- tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)
- xz -zf $(pkg)_$(dfsg_version).orig.tar
- rm -rf $(pkg)
- mv $(pkg)_$(dfsg_version).orig.tar.xz ../$(pkg)_$(dfsg_version).orig.tar.xz
diff --git a/debian/watch b/debian/watch
index 1cf11b9..e59e43a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
-opts=dversionmangle=s/~repack.*// \
+opts=dversionmangle=s/\~repack2$//,repacksuffix=~repack2 \
https://github.com/zamaudio/zam-plugins/tags .*/v?(\d\S*)\.tar\.gz
--
zam-plugins packaging
More information about the pkg-multimedia-commits
mailing list