linux-perf: Fix generation of Perl and Python interpreter dependencies

It works better if we specify the correct directories containing
modules.  This has been broken since linux-tools 4.0.2-1.

Closes: #908547
This commit is contained in:
Ben Hutchings 2018-09-11 01:59:07 +01:00
parent c6cd2b3a13
commit c0f447ca76
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View File

@ -14,6 +14,8 @@ linux (4.19~rc3-1~exp2) UNRELEASED; urgency=medium
* Add support for specifying build-dependencies in binary package templates
* debian/templates: Move various build-dependencies to binary package
templates
* linux-perf: Fix generation of Perl and Python interpreter dependencies
(Closes: #908547)
-- Ben Hutchings <ben@decadent.org.uk> Mon, 10 Sep 2018 22:25:53 +0100

4
debian/rules.real vendored
View File

@ -671,8 +671,8 @@ install-perf: $(STAMPS_DIR)/build-tools
dh_testroot
dh_prep
$(call make-tools,tools/perf) install DESTDIR=$(DIR)
dh_perl /usr/share/perf_$(VERSION)-core/scripts/perl/Perf-Trace-Util/lib/
dh_python3 /usr/share/perf_$(VERSION)-core/scripts/python/Perf-Trace-Util/lib/
dh_perl /usr/lib/perf_$(VERSION)-core/scripts/perl/Perf-Trace-Util/lib/
dh_python3 /usr/lib/perf_$(VERSION)-core/scripts/python/Perf-Trace-Util/lib/
dh_installchangelogs
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs