[neon/qt/qtcreator/Neon/release] debian: improve qmldir permissions fixing

Pino Toscano null at kde.org
Mon Jan 16 22:09:47 GMT 2023


Git commit 06b79005c5d68f2f0eabb7f6b17c893e6ecaa888 by Pino Toscano.
Committed on 18/06/2022 at 07:13.
Pushed by carlosdem into branch 'Neon/release'.

improve qmldir permissions fixing

M  +2    -0    debian/changelog
M  +1    -1    debian/rules

https://invent.kde.org/neon/qt/qtcreator/commit/06b79005c5d68f2f0eabb7f6b17c893e6ecaa888

diff --git a/debian/changelog b/debian/changelog
index bcbc073..86b438e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ qtcreator (8.0.0~beta1-2) UNRELEASED; urgency=medium
     - explicitly add python3, used during the build
   * Use a qtcreator-data.docs file to install the upstream changelog files,
     rather than passing all of them as arguments to dh_installdocs.
+  * Limit the search of 'qmldir' files only to those executable, and make the
+    chmod call verbose so it is easier to see whether there are any.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 18 Jun 2022 07:00:29 +0200
 
diff --git a/debian/rules b/debian/rules
index aa09b82..91ba61c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,7 +39,7 @@ endif
 	rm -rf debian/tmp/usr/share/qtcreator/generic-highlighter/syntax/licenses/
 
 	# Remove extra exec permissions
-	find debian/tmp -name qmldir -type f -exec chmod -x {} \;
+	find debian/tmp -name qmldir -type f -perm /111 -exec chmod -v -x {} \;
 
 execute_after_dh_install:
 	# Copied in qtcreator-doc already



More information about the Neon-commits mailing list