[Pkg-gnupg-commit] [gpgme] 07/09: avoid lintian warnings about executable cmake files
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Oct 12 13:35:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit b9e4112d398bd95adf56f7dc4c5acf77b5a1d74a
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Wed Oct 12 06:11:16 2016 -0400
avoid lintian warnings about executable cmake files
---
...ll-cmake-files-without-executable-bit-set.patch | 49 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 50 insertions(+)
diff --git a/debian/patches/0006-install-cmake-files-without-executable-bit-set.patch b/debian/patches/0006-install-cmake-files-without-executable-bit-set.patch
new file mode 100644
index 0000000..6c74ce6
--- /dev/null
+++ b/debian/patches/0006-install-cmake-files-without-executable-bit-set.patch
@@ -0,0 +1,49 @@
+From: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
+Date: Wed, 12 Oct 2016 06:08:46 -0400
+Subject: install cmake files without executable bit set
+
+cmake is exciting but it's not *that* exciting, and besides lintian
+complains:
+
+W: libgpgme-dev: executable-not-elf-or-script
+ usr/lib/x86_64-linux-gnu/cmake/Gpgmepp/QGpgmeConfig.cmake
+
+none of the other cmake files on a debian system appear to be intalled
+with executable provisiona either.
+---
+ lang/cpp/src/Makefile.am | 4 ++--
+ lang/qt/src/Makefile.am | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/lang/cpp/src/Makefile.am b/lang/cpp/src/Makefile.am
+index e65a875..0165074 100644
+--- a/lang/cpp/src/Makefile.am
++++ b/lang/cpp/src/Makefile.am
+@@ -82,9 +82,9 @@ GpgmeppConfig.cmake: GpgmeppConfig.cmake.in
+
+ install-cmake-files: GpgmeppConfig.cmake GpgmeppConfigVersion.cmake
+ -$(INSTALL) -d $(DESTDIR)$(libdir)/cmake/Gpgmepp
+- $(INSTALL) GpgmeppConfig.cmake \
++ $(INSTALL) -m 644 GpgmeppConfig.cmake \
+ $(DESTDIR)$(libdir)/cmake/Gpgmepp/GpgmeppConfig.cmake
+- $(INSTALL) GpgmeppConfigVersion.cmake \
++ $(INSTALL) -m 644 GpgmeppConfigVersion.cmake \
+ $(DESTDIR)$(libdir)/cmake/Gpgmepp/GpgmeppConfigVersion.cmake
+
+ uninstall-cmake-files:
+diff --git a/lang/qt/src/Makefile.am b/lang/qt/src/Makefile.am
+index c15da18..1ae596a 100644
+--- a/lang/qt/src/Makefile.am
++++ b/lang/qt/src/Makefile.am
+@@ -232,9 +232,9 @@ $(camelcase_headers): Makefile.am
+
+ install-cmake-files: QGpgmeConfig.cmake QGpgmeConfigVersion.cmake
+ -$(INSTALL) -d $(DESTDIR)$(libdir)/cmake/Gpgmepp
+- $(INSTALL) QGpgmeConfig.cmake \
++ $(INSTALL) -m 644 QGpgmeConfig.cmake \
+ $(DESTDIR)$(libdir)/cmake/Gpgmepp/QGpgmeConfig.cmake
+- $(INSTALL) QGpgmeConfigVersion.cmake \
++ $(INSTALL) -m 644 QGpgmeConfigVersion.cmake \
+ $(DESTDIR)$(libdir)/cmake/Gpgmepp/QGpgmeConfigVersion.cmake
+
+ uninstall-cmake-files:
diff --git a/debian/patches/series b/debian/patches/series
index 8616548..fd76fd1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
0003-tests-Fix-select-usage-in-t-eventloop.patch
0004-gpg-Add-option-exit-on-status-write-error.patch
0005-tests-Add-test-for-cancellation.patch
+0006-install-cmake-files-without-executable-bit-set.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list