[Debian-ha-commits] [fence-agents] 01/01: Add dh_python2 override to compile python files.

Adrian Vondendriesch discostu-guest at moszumanska.debian.org
Mon Mar 14 18:01:22 UTC 2016


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

discostu-guest pushed a commit to branch master
in repository fence-agents.

commit 8377d8b1314d928f61d6cefd3528009bc4d7b8cc
Author: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
Date:   Sun Mar 13 14:00:25 2016 +0100

    Add dh_python2 override to compile python files.
    
    This will create a postinst script to compile all python libraries under
    /usr/share/fence as requested in #816270.
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d293655..64556e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fence-agents (4.0.22-3) unstable; urgency=medium
+
+  * Add dh_python2 override to compile python files. (Closes: #816270)
+
+ -- Adrian Vondendriesch <adrian.vondendriesch at credativ.de>  Sun, 13 Mar 2016 14:41:07 +0100
+
 fence-agents (4.0.22-2) unstable; urgency=medium
 
   * Grab missing fence_zvm.h from upstream.
diff --git a/debian/rules b/debian/rules
index ffde130..c559256 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,3 +41,7 @@ endif
 		echo "Testing $$agent"; \
 		PYTHONPATH=debian/tmp/usr/share/fence $$agent --help >/dev/null || exit; \
 	done
+
+override_dh_python2:
+	dh_python2
+	dh_python2 /usr/share/fence

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/fence-agents.git



More information about the Debian-HA-Commits mailing list