[Debian-ha-commits] [pcs] 03/05: Update rules for patching
Richard Winters
devrik-guest at moszumanska.debian.org
Wed May 6 07:55:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
devrik-guest pushed a commit to branch master
in repository pcs.
commit df489715d44b6d194784f85fe96ba300f6ba7ba5
Author: Richard B Winters <rik at mmogp.com>
Date: Wed May 6 03:15:41 2015 -0400
Update rules for patching
- Do not manually install README as pcs.install handles this
- Do not remove .gitignore as Patch 0005 handles this
- Pass new variables to make command in order to avoid
additional patching
- Mark pcsd.debian executable to satisfy Lintian
Change-Id: Ida55a1595d40c8b7df78c6d6bd5270ab04acb2e0
Signed-off-by: Richard B Winters <rik at mmogp.com>
---
debian/rules | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 0ffa6b8..3c3339d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,12 +30,9 @@ override_dh_auto_install:
$(MAKE) install_pcsd \
PREFIX=/usr \
DESTDIR=$(CURDIR)/debian/tmp \
- PYTHON_SITELIB=/usr/lib/python2.7/dist-packages
-# Exclude .gitignore file
- rm -v $(CURDIR)/debian/tmp/usr/share/pcsd/.gitignore
-# Add the readme
- mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/pcs/
- cp $(CURDIR)/README $(CURDIR)/debian/tmp/usr/share/doc/pcs/README
+ PYTHON_SITELIB=/usr/lib/python2.7/dist-packages \
+ BUILD_GEMS=false \
+ systemddir=/lib/systemd
override_dh_python2:
dh_python2 -p pcs --skip-private
@@ -54,5 +51,6 @@ override_dh_compress:
chmod -x $(CURDIR)/debian/pcs/usr/share/pcsd/public/css/*
chmod -x $(CURDIR)/debian/pcs/etc/pam.d/pcsd
chmod -x $(CURDIR)/debian/pcs/etc/bash_completion.d/pcs
+ chmod a+x $(CURDIR)/debian/pcs/usr/share/pcsd/pcsd.debian
chmod 755 $(CURDIR)/debian/pcs/usr/share/pcsd/public/css/images/
dh_compress
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pcs.git
More information about the Debian-HA-Commits
mailing list