[caffe] 01/01: rules: override dh_fixperms

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon Aug 1 05:06:58 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit 0d58b324c51292ecc77fcc4ccf37fca4eee9d9a9
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Mon Aug 1 05:06:38 2016 +0000

    rules: override dh_fixperms
---
 debian/changelog | 1 +
 debian/rules     | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 573c008..c3036e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ caffe (1.0.0~rc3+20160715-g42cd785-1) experimental; urgency=medium
   * Remove patch fix-spelling-error, which was merged by upstream.
   * Refresh patch cmake-fix-python-module-installdir.
   * Refresh symbols comtrol file.
+  * Override dh_fixperms to remove executable bit from several python scripts.
 
  -- Zhou Mo <cdluminate at gmail.com>  Mon, 01 Aug 2016 04:37:02 +0000
 
diff --git a/debian/rules b/debian/rules
index 1bf4a5d..f6dcea2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -107,5 +107,10 @@ override_dh_makeshlibs:
 	dh_makeshlibs --package=python3-caffe-cpu -X/usr/lib/python
 	dh_makeshlibs --remaining-packages
 
+override_dh_fixperms:
+	dh_fixperms
+	chmod -x debian/tmp/usr/lib/python3/dist-packages/caffe/proto/caffe_pb2.py
+	chmod -x debian/tmp/usr/lib/python3/dist-packages/caffe/proto/__init__.py
+
 get-orig-source:
 	wget -c $(ORIG_SOURCE) -O caffe_1.0.0~rc3.orig.tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git



More information about the debian-science-commits mailing list