Bug#960670: examples are installed twice

Roderich Schupp roderich.schupp at gmail.com
Fri May 15 10:36:08 BST 2020


Source: nautilus-python
Version: 1.2.3-3+rsc
Severity: minor
Tags: patch

$ dpkg -L python3-nautilus

...
/usr/share/doc/nautilus-python/README
/usr/share/doc/nautilus-python/examples/background-image.py
/usr/share/doc/nautilus-python/examples/block-size-column.py
/usr/share/doc/nautilus-python/examples/location-widget-provider.py
...
/usr/share/doc/python3-nautilus/examples/README
/usr/share/doc/python3-nautilus/examples/background-image.py
/usr/share/doc/python3-nautilus/examples/block-size-column.py
/usr/share/doc/python3-nautilus/examples/location-widget-provider.py
...


Patch attached to get rid of the files in /usr/share/doc/nautilus-python.

Cheers, Roderich



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-rc5 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@
 override_dh_install:
 	dh_install
 	rm -f debian/python3-nautilus/usr/lib/*/nautilus/extensions-3.0/*.la
+	rm -rf debian/python3-nautilus/usr/share/doc/nautilus-python
 
 override_dh_installexamples:
 	dh_installexamples -A examples/*.py examples/README


More information about the pkg-gnome-maintainers mailing list