Bug#1137368: Missing dependency on elpa-emacsql-sqlite

Arto Jantunen <[email protected]>
Newsgroups gmane.linux.debian.devel.emacsen
Message-ID <177951548306.31523.5288788850947001663.reportbug__39177.5001700566$1779515608$gmane$org@farfetchd>
Package: elpa-closql
Version: 2.4.0-1
Severity: serious
Tags: patch

The formatting of the dependencies changed a tiny bit (a space was added
between emacsql and the version number) in the new upstream version 2.4.0,
breaking the sed magic in debian/rules which then dropped the dependency.

Perhaps something like this to fix (or perhaps drop the sed magic and apply
a patch instead, that would make conflicts visible on upstream bumps):

1 file changed, 2 insertions(+), 2 deletions(-)
debian/rules | 4 ++--

modified   debian/rules
@@ -4,8 +4,8 @@
 	dh $@ --with elpa
 
 override_dh_elpa:
-	sed -i -E 's/(;;[[:blank:]]*\()(emacsql) ("[[:digit:].]+"\).*$$)/\1emacsql-sqlite \3/g' closql.el
+	sed -i -E 's/(;;[[:blank:]]*\()(emacsql) +("[[:digit:].]+"\).*$$)/\1emacsql-sqlite \3/g' closql.el
 	dh_elpa
-	sed -i -E 's/(;;[[:blank:]]*\()(emacsql-sqlite) ("[[:digit:].]+"\).*$$)/\1emacsql \3/g' closql.el
+	sed -i -E 's/(;;[[:blank:]]*\()(emacsql-sqlite) ("[[:digit:].]+"\).*$$)/\1emacsql  \3/g' closql.el
 
 override_dh_auto_build:


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

Kernel: Linux 7.0.7+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elpa-closql depends on:
ii  dh-elpa-helper  2.1.9
ii  elpa-cond-let   1.0.0-1
ii  elpa-emacsql    4.3.6-1
ii  emacsen-common  3.0.8

Versions of packages elpa-closql recommends:
ii  emacs               1:30.2+1-3
ii  emacs-pgtk [emacs]  1:30.2+1-3

elpa-closql suggests no packages.

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.