summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2010-12-05 03:30:47 +0200
committerModestas Vainius <modestas@vainius.eu>2010-12-05 03:30:47 +0200
commit52b77df2aa78ba600ae2b88da925aa3b874655c1 (patch)
tree2abfe0754132051f74d09f5672eb1e6dc685d2ec
parentf1b680e3d7242c307de883cff51643c4ef4126cf (diff)
downloadqt4-x11-52b77df2aa78ba600ae2b88da925aa3b874655c1.tar.gz
Remove bogus executable bits from some Qt data files.
4.7.1 tarball ships with bogus executable bits on some data files in mkspecs, docs, examples and demos subdirs. Remove those -x bits when files are installed to debian/tmp.
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules7
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2464b3f..d922c85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,9 @@ qt4-x11 (4:4.7.1-0r1) UNRELEASED; urgency=low
* Remove quilt from Build-Depends. It's no longer needed for source format
3.0 (quilt).
* Confirm symbol files for official 4.7.1 on amd64.
+ * 4.7.1 tarball ships with bogus executable bits on some data files in
+ mkspecs, docs, examples and demos subdirs. Remove those -x bits when files
+ are installed to debian/tmp.
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Wed, 06 Oct 2010 14:55:15 +0200
diff --git a/debian/rules b/debian/rules
index 8338fad..98379a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -260,6 +260,13 @@ override_dh_auto_install:
-o -name .rcc \
\) -print0 | xargs -0 rm -rf
+ # Remove bogus exec bits from some data files in mkspecs, docs, examples
+ # and demos
+ find debian/tmp/usr/share/qt4/ debian/tmp/usr/lib/qt4/ \
+ -executable -type f \
+ -regex '.*\.\(app\|conf\|cpp\|h\|js\|php\|png\|pro\|xml\|xsl\)$$' \
+ -exec chmod a-x {} \;
+
override_dh_install:
dh_install --list-missing