--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dh-make-elpa: better handling of debhelper version
- From: Lev Lamberov <dogsleg@debian.org>
- Date: Sat, 03 Mar 2018 23:55:10 +0500
- Message-id: <152010331034.19039.2078562107887880672.reportbug@urfu-thinkpad>
Package: dh-make-elpa
Version: 0.12
Severity: wishlist
Tags: patch
Hi Sean,
please find attached two patches for dh-make-elpa.
The first one,
0001-Substitute-debhelper-version-in-Build-Depends-from-c.patch,
refactors code to generate build dependency on debhelper in d/control.
Now one don't need to change both debhelper version in DEFAULTS of
lib/DhMakeELPA/Config.pm and hardcoded version in add call of
lib/DhMakeELPA/Command/make.pm, one just needs to change DEFAULTS.
The second one,
0002-Generate-debhelper-version-11-in-control-and-compat.patch, bumps
debhelper version in generated files (d/control and d/compat) from 10
to 11.
Cheers!
Lev
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dh-make-elpa depends on:
ii dh-elpa 1.11
ii dh-make-perl 0.99
ii libarray-utils-perl 0.5-1
ii libfile-find-rule-perl 0.34-1
ii libfile-grep-perl 0.02-1
ii libgit-repository-perl 1.321-1
ii libtrycatch-perl 1.003002-2+b4
ii perl 5.26.1-5
Versions of packages dh-make-elpa recommends:
ii devscripts 2.17.12
dh-make-elpa suggests no packages.
-- no debconf information
>From 6ee16b1e4eaf872dbd05296e165357a9ab909b8c Mon Sep 17 00:00:00 2001
From: Lev Lamberov <dogsleg@debian.org>
Date: Sat, 3 Mar 2018 23:41:49 +0500
Subject: [PATCH 1/2] Substitute debhelper version in Build-Depends from
configuration
---
lib/DhMakeELPA/Command/make.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/DhMakeELPA/Command/make.pm b/lib/DhMakeELPA/Command/make.pm
index 0111c10..1ddb143 100644
--- a/lib/DhMakeELPA/Command/make.pm
+++ b/lib/DhMakeELPA/Command/make.pm
@@ -51,7 +51,7 @@ sub create_control {
$src->Section("lisp");
$src->Priority("optional");
$src->Standards_Version( $self->debstdversion );
- $src->Build_Depends->add( "debhelper (>= 10)" );
+ $src->Build_Depends->add( sprintf "debhelper (>= %s)", $self->cfg->dh );
$src->Build_Depends->add( "dh-elpa" );
$src->Build_Depends->add( "elpa-buttercup" )
if ( $self->detect_buttercup_tests() );
--
2.16.1
>From bccb1a8c3f4a9a9e8a14fea4b89b84a82f684dca Mon Sep 17 00:00:00 2001
From: Lev Lamberov <dogsleg@debian.org>
Date: Sat, 3 Mar 2018 23:43:53 +0500
Subject: [PATCH 2/2] Generate debhelper version 11 in control and compat
---
lib/DhMakeELPA/Config.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/DhMakeELPA/Config.pm b/lib/DhMakeELPA/Config.pm
index 7820191..8c92c20 100644
--- a/lib/DhMakeELPA/Config.pm
+++ b/lib/DhMakeELPA/Config.pm
@@ -34,7 +34,7 @@ __PACKAGE__->mk_accessors(
);
use constant DEFAULTS => {
- dh => 10,
+ dh => 11,
data_dir => '/usr/share/dh-make-elpa',
home_dir => "$ENV{HOME}/.dh-make-elpa",
source_format => '3.0 (quilt)',
--
2.16.1
--- End Message ---
--- Begin Message ---
Source: dh-make-elpa
Source-Version: 0.17
We believe that the bug you reported is fixed in the latest version of
dh-make-elpa, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 891987@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Lev Lamberov <dogsleg@debian.org> (supplier of updated dh-make-elpa package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 19 Jul 2019 10:30:07 +0500
Source: dh-make-elpa
Architecture: source
Version: 0.17
Distribution: unstable
Urgency: medium
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Changed-By: Lev Lamberov <dogsleg@debian.org>
Closes: 891987 932391
Changes:
dh-make-elpa (0.17) unstable; urgency=medium
.
[ Lev Lamberov ]
* Migrate to dh 12
* Declare Standards-Version 4.4.0 (no changes needed)
* Create new packages with Standards-Version 4.4.0
* Create new packages with debhelper-compat (= 12) and without d/compat
(Closes: #891987, #932391)
* Drop adding emacs25 to Enhances field of new packages
.
[ Matthew Kraai ]
* Change default section to "editors".
Checksums-Sha1:
bd6fccbbc2849d0a4f77ad1635eb8cbef279af8f 1613 dh-make-elpa_0.17.dsc
78106d1a07861dd9748b6a13f02faaa616d06dae 13024 dh-make-elpa_0.17.tar.xz
1d0b3bfc6f4e3ac25ec01c137fbb76f7dafb2297 5411 dh-make-elpa_0.17_amd64.buildinfo
Checksums-Sha256:
d73cfe31957c91bbfb047a73def63c1245d005d564a80683839daf86ddee2a4f 1613 dh-make-elpa_0.17.dsc
700432763e44f223bbf8354d3d192494a5345638bca06186cd9394dcb5a9d196 13024 dh-make-elpa_0.17.tar.xz
1a892ce7e93e15ff43e65cee88608c3bed0376165cbeea0bfb924b7e62bc1e0d 5411 dh-make-elpa_0.17_amd64.buildinfo
Files:
c6479143e37609a1e25a434bb828b450 1613 devel optional dh-make-elpa_0.17.dsc
9c80717c9251e60ffcdafedcefebbedf 13024 devel optional dh-make-elpa_0.17.tar.xz
8a1d76caa85446a99884b511df55a8fd 5411 devel optional dh-make-elpa_0.17_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE3mumcdV9mwCc9oZQXudu4gIW0qUFAl0xV44ACgkQXudu4gIW
0qVZfg/9FcaT7Nmi+4LfIop0huWI0Z+iy7kOziHI6h4n3MQXrEDGOET3ENbizeHv
FPs5YlFd/mq+vGIFn7smxAHe1OF3VKIwT5kymaVCJjoYWy9RJrR3Cv1bmwGSHmoC
PGJUdkMCyPyWEiZNnkANEMAq37UuI9yjJZgi7ghfXFZLNCwdK/Iryslw8srGG/FU
JBcfCvnuZc8kaIGlxreSwqsRKk2eNhz8p1yijMGVmBgbPCBkxL9JmWWl3y0Et3tC
Lqa9h+0wizpA9uls/DXoH+4LeWm73SSKaFNyeFPwsAGrr8IFPJWqknrCzx4snNJ2
A2wWeLOaNXW5wuMRMVm4/DwUgoK0XL3pNIteXlGSDaRvkKs54REelNbjWmowiULr
ESgi7Ha20X3PCwVCYZ8IXe9WK5PjQG8QPvjqH8lofwUqcoJDRpfHk4djlA+mbMAN
5yJuXGFxqr2hJHiRXYeywB/0HQsN+GBLNxCmKTN4fG/vJk/rEc2VX/+l1MZWhY1X
TSHzz8qQAG7KBe4rK0kohnlzmrkR0w5VbGX6qqg2X/E/+bHqxvsBVMaUtoDejKO/
Q/xQW24fvJEDUOvf5piYhlt7RAzEPHWHSvFkiuR2/nxoefMIzthtUTa6HU4feeWI
J2SSeTrrd0GV81KJxqlCkwd/u2x2A76TcU+a2ewHnfXHEKnTc6w=
=n4f6
-----END PGP SIGNATURE-----
--- End Message ---