[heroes] 01/03: Handle heroes' permissions in the dh_fixperms override.

Stephen Kitt skitt at moszumanska.debian.org
Mon Feb 29 19:43:42 UTC 2016


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

skitt pushed a commit to branch master
in repository heroes.

commit 8e85eb22c8a0f64d91fe444f24b702d4c5992ab1
Author: Stephen Kitt <steve at sk2.org>
Date:   Thu Jan 28 08:40:10 2016 +0100

    Handle heroes' permissions in the dh_fixperms override.
---
 debian/changelog | 7 +++++++
 debian/rules     | 8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2959be9..504931a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+heroes (0.21-14) UNRELEASED; urgency=medium
+
+  * Handle heroes' permissions in the dh_fixperms override, for
+    architecture-dependent builds only.
+
+ -- Stephen Kitt <skitt at debian.org>  Thu, 28 Jan 2016 08:39:22 +0100
+
 heroes (0.21-13) unstable; urgency=medium
 
   * Handle "Arch: all" builds correctly.
diff --git a/debian/rules b/debian/rules
index ae6bfe7..19c6ce5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,13 +17,13 @@ override_dh_autoreconf_clean:
 	dh_autoreconf_clean
 	mv mkinstalldirs tools
 
-override_dh_fixperms:
-	dh_fixperms -Xheroes
+override_dh_fixperms-arch:
+	dh_fixperms
+	chown root:games debian/heroes/usr/games/heroes
+	chmod g+s debian/heroes/usr/games/heroes
 
 override_dh_install-arch:
 	dh_install
-	chown root:games debian/heroes/usr/games/heroes
-	chmod g+s debian/heroes/usr/games/heroes
 	rm -rf debian/heroes/usr/share/games/heroes/etc
 
 override_dh_auto_test:

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



More information about the Pkg-games-commits mailing list