[Pkg-mpd-commits] [python-mpd] 02/04: Update rules to delete cruft

Simon McVittie smcv at debian.org
Sat Feb 24 15:06:46 UTC 2018


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

smcv pushed a commit to branch debian/master
in repository python-mpd.

commit f335c6fcdd93eb365656fb044a044104d8c098e7
Author: Simon McVittie <smcv at debian.org>
Date:   Sat Feb 24 15:00:02 2018 +0000

    Update rules to delete cruft
---
 debian/not-installed | 2 --
 debian/rules         | 6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/not-installed b/debian/not-installed
deleted file mode 100644
index a9af353..0000000
--- a/debian/not-installed
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/python2.*/dist-packages/mpd/*.pyc
-usr/lib/python3.*/dist-packages/mpd/__pycache__/*.pyc
diff --git a/debian/rules b/debian/rules
index 4a6bb3f..9df61bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,8 +19,8 @@ override_dh_installchangelogs:
 override_dh_install:
 	install -d debian/tmp/usr/share/devhelp/books
 	cp -a doc/_build/devhelp debian/tmp/usr/share/devhelp/books/python-mpd2
-	rm -f debian/tmp/usr/lib/*/dist-packages/mpd_test.py
-	rm -f debian/tmp/usr/lib/*/dist-packages/*.py[co]
-	rm -fr debian/tmp/usr/lib/*/dist-packages/__pycache__
+	rm -f debian/tmp/usr/lib/python*/dist-packages/mpd/test.py
+	rm -f debian/tmp/usr/lib/python*/dist-packages/mpd/*.py[co]
+	rm -fr debian/tmp/usr/lib/python*/dist-packages/mpd/__pycache__
 	rm -fr debian/tmp/usr/share/devhelp/books/python-mpd2/_static
 	dh_install --fail-missing

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git



More information about the Pkg-mpd-commits mailing list