[lucene2] 05/06: Fix privacy-breach-generic warning. Limit sed operation to -doc package.
Markus Koschany
apo at moszumanska.debian.org
Wed Aug 24 14:05:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository lucene2.
commit a1af76dcfac4a4ad27b92aa48fa5884d64957166
Author: Markus Koschany <apo at debian.org>
Date: Wed Aug 24 15:50:18 2016 +0200
Fix privacy-breach-generic warning. Limit sed operation to -doc package.
---
debian/changelog | 4 ++--
debian/rules | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c837d3c..311f2b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,8 @@ lucene2 (2.9.4+ds1-6) unstable; urgency=medium
* Team upload.
* Disable the tests because they cause random build failures.
(Closes: #749365)
- * Fix Lintian error privacy-breach-logo by removing the external link to the
- logo from the documentation.
+ * Fix Lintian error privacy-breach-logo and privacy-breach-generic by
+ removing the external link to the logo from the documentation.
-- Markus Koschany <apo at debian.org> Wed, 24 Aug 2016 15:42:11 +0200
diff --git a/debian/rules b/debian/rules
index f9a2dc0..df4d46f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,8 +76,10 @@ install/liblucene2-java-doc::
install -d $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo
install -m 644 build/lucene-demos-$(UPSTREAM_VERSION).jar $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo/
install -m 644 build/luceneweb.war $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo/
- # Fix Lintian error privacy-breach-logo
- find . -type f -exec sed -i 's/http:\/\/www.apache.org\/images\/asf_logo_simple.png//g' {} \;
+ # Fix Lintian error privacy-breach-logo and Lintian warning privacy-breach-generic
+ find $(CURDIR)/debian/liblucene2-java-doc/ -type f -exec sed -i 's/http:\/\/www.apache.org\/images\/asf_logo_simple.png//g' {} \;
+ find $(CURDIR)/debian/liblucene2-java-doc/ -type f -exec sed -i 's/http:\/\/lucene.apache.org\/images\/lucene_green_300.gif//g' {} \;
+
remove-source:
rm -f build.xml
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git
More information about the pkg-java-commits
mailing list