[Python-modules-commits] [pycairo] 05/07: debian/rules: Try to fix the privacy-breach-generic lintian warning

Laurent Bigonville bigon at moszumanska.debian.org
Sun Nov 19 14:00:38 UTC 2017


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

bigon pushed a commit to branch master
in repository pycairo.

commit 8716af775f459df01a308bd023d7acb089e1c0d5
Author: Laurent Bigonville <bigon at bigon.be>
Date:   Sun Nov 19 14:38:56 2017 +0100

    debian/rules: Try to fix the privacy-breach-generic lintian warning
---
 debian/changelog | 3 ++-
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 88087d2..445799b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ pycairo (1.15.4-2) UNRELEASED; urgency=medium
   * debian/rules: Call the sphinxdoc sequence
   * debian/rules: Do not create additional -dbgsyms packages, put the debug
     symbols in the -dbg ones
+  * debian/rules: Try to fix the privacy-breach-generic lintian warning
 
- -- Laurent Bigonville <bigon at debian.org>  Sun, 19 Nov 2017 14:25:38 +0100
+ -- Laurent Bigonville <bigon at debian.org>  Sun, 19 Nov 2017 14:38:16 +0100
 
 pycairo (1.15.4-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 4b19861..f2a8996 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ DEB_COMPRESS_EXCLUDE= .js .inv
 override_dh_auto_build:
 	dh_auto_build --buildsystem=pybuild
 	sphinx-build -bhtml docs debian/tmp-doc/html
+	# to fix lintian: privacy-breach-generic
+	sed -ir 's|src="https:[^"]*|src="|' debian/tmp-doc/html/index.html
 
 override_dh_auto_clean:
 	dh_auto_clean --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycairo.git



More information about the Python-modules-commits mailing list