diff options
author | Sven Joachim <svenjoac@gmx.de> | 2019-08-15 19:24:27 +0200 |
---|---|---|
committer | Sven Joachim <svenjoac@gmx.de> | 2019-09-01 13:25:14 +0200 |
commit | fb2428df41d0c65c8357d6e0dd0ae679d467c994 (patch) | |
tree | c1de42702cedeeb1a9c8d5e02d01319fda7565f8 /debian | |
parent | 5473d86bf0b65c4624a32d784baec4e51c1a6f2a (diff) | |
download | debhelper-fb2428df41d0c65c8357d6e0dd0ae679d467c994.tar.gz |
Split off a libdebhelper-perl binary package
This makes it possible for debhelper adddon packages to depend on it
rather than on debhelper, breaking the circular dependencies between
debhelper and dh-autoreconf/dh-strip-nondeterminism.
The autoscripts are used by the autoscript routine in Dh_Lib.pm, so I
decided to put those into libdebhelper-perl as well.
Closes: #821130
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/debhelper.install | 1 | ||||
-rw-r--r-- | debian/libdebhelper-perl.install | 2 | ||||
-rwxr-xr-x | debian/rules | 4 |
4 files changed, 20 insertions, 2 deletions
diff --git a/debian/control b/debian/control index ea89ab96..656456df 100644 --- a/debian/control +++ b/debian/control @@ -31,6 +31,7 @@ Depends: autotools-dev, file (>= 3.23), libdpkg-perl (>= 1.17.14), man-db, + libdebhelper-perl (= ${source:Version}), po-debconf, ${misc:Depends}, ${perl:Depends} @@ -61,6 +62,20 @@ Description: helper programs for debian/rules menu system, debconf, doc-base, etc. Most Debian packages use debhelper as part of their build process. +Package: libdebhelper-perl +Section: perl +Architecture: all +Depends: ${misc:Depends}, + ${perl:Depends} +Replaces: debhelper (<< 12.6~) +Breaks: debhelper (<< 12.6~) +Multi-Arch: foreign +Description: debhelper perl modules + A collection of programs that can be used in a debian/rules file to + automate common tasks related to building Debian packages. + . + This package provides the perl modules used by the scripts in debhelper. + Package: dh-systemd Section: oldlibs Architecture: all diff --git a/debian/debhelper.install b/debian/debhelper.install new file mode 100644 index 00000000..e7724817 --- /dev/null +++ b/debian/debhelper.install @@ -0,0 +1 @@ +usr/bin diff --git a/debian/libdebhelper-perl.install b/debian/libdebhelper-perl.install new file mode 100644 index 00000000..0df575c9 --- /dev/null +++ b/debian/libdebhelper-perl.install @@ -0,0 +1,2 @@ +usr/share/debhelper +usr/share/perl5 diff --git a/debian/rules b/debian/rules index 756fe9c0..57454cd1 100755 --- a/debian/rules +++ b/debian/rules @@ -18,7 +18,7 @@ PERL ?= perl # builds without needing autotools-dev, dh-strip-nondetermism etc.) override_dh_update_autotools_config override_dh_strip_nondeterminism: -override_dh_auto_install: - ./run dh_auto_install --destdir=debian/debhelper +override_dh_install: + ./run dh_install PERLLIBDIR=$$($(PERL) -MConfig -e 'print $$Config{vendorlib}')/Debian/Debhelper ; \ $(PERL) -I"debian/debhelper/$${PERLLIBDIR}" debian/gen-provides > debian/debhelper.substvars |