[Pkg-octave-commit] [SCM] Debian packaging for octave branch, master, updated. 3.2.2-2-102-g2b393c2

Thomas Weber tweber at debian.org
Wed Dec 7 17:56:22 UTC 2011


The following commit has been merged in the master branch:
commit f24aee7425891325305b3dfe070db7aa22a16333
Author: Thomas Weber <tweber at debian.org>
Date:   Fri Nov 18 16:55:56 2011 +0100

    Remove the executable bit from .oct files
    
    This is a "should" rule in policy 8.1 and is done by extending the
    'dh_strip' call
    
    Git-Dch: Ignore

diff --git a/debian/rules b/debian/rules
index 24bee63..f8eb6cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,9 +26,13 @@ override_dh_compress:
 override_dh_auto_install:
 	dh_auto_install --max-parallel=1
 
-# save debug information into the debug package
+# save debug information into the debug package and strip the executable bit
+# from the .oct files
+# The latter cannot be done in dh_fixperms, as then dh_strip doesn't take the
+# .oct files into account for debug information
 override_dh_strip:
 	dh_strip -a --dbg-package=octave-dbg
+	find debian/octave -name '*.oct' -print0 2>/dev/null | xargs -0r chmod 644
 
 get-orig-source:
 	uscan --force-download --rename --destdir .

-- 
Debian packaging for octave



More information about the Pkg-octave-commit mailing list