summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules3
-rw-r--r--share/lintian-overrides3
3 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c6b7b170c..625dd8e0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,10 @@ apt (0.7.17) unstable; urgency=low
'maintainer-script-ignores-error'.
* dselect/makefile:
- Removed unneeded 'LOCAL' entry. This allows cleaning rule to run smoothly.
+ * share/lintian-overrides:
+ - Added with override of 'apt must depend on python'. Script 'apt-mark'
+ needs apt-python for working and checks this on fly. We don't want
+ python in most cases.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Fri, 24 Oct 2008 23:45:17 +0300
diff --git a/debian/rules b/debian/rules
index 3b9a115d7..f6ff3c47a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -217,6 +217,9 @@ apt: build debian/shlibs.local
cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
# head -n 500 ChangeLog > debian/ChangeLog
+ # copy lintian override
+ cp share/lintian-overrides debian/$@/usr/share/lintian/overrides/apt
+
# make rosetta happy and remove pot files in po/ (but leave stuff
# in po/domains/* untouched) and cp *.po into each domain dir
rm -f build/po/*.pot
diff --git a/share/lintian-overrides b/share/lintian-overrides
new file mode 100644
index 000000000..49c5ce53c
--- /dev/null
+++ b/share/lintian-overrides
@@ -0,0 +1,3 @@
+# apt-mark is rarely used auxiliary script, we don't want to depend on
+# python-apt only for it.
+apt binary: python-script-but-no-python-dep ./usr/bin/apt-mark