From f9718a46c1da32fa4166a20bc2ec2395726551ac Mon Sep 17 00:00:00 2001 From: Ark74 <ark@switnet.org> Date: Wed, 7 Dec 2022 13:18:25 -0600 Subject: [PATCH] emacs-non-dfsg: fix packaging naming issue. --- helpers/make-emacs-non-dfsg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/helpers/make-emacs-non-dfsg b/helpers/make-emacs-non-dfsg index bfdd776b..c848ca76 100644 --- a/helpers/make-emacs-non-dfsg +++ b/helpers/make-emacs-non-dfsg @@ -18,13 +18,16 @@ # emacs-non-dfsg is under GFDL but due to "invariant sections" is considered # problematic for Debian -VERSION=1 +VERSION=2 EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu $UPSTREAM multiverse' . ./config -sed -i '/Package/s|emacs-common-non-dfsg|emacs-common-gfdl|' debian/control +replace emacs-common-non-dfsg emacs-common-gfdl +find -type d |xargs rename s/emacs-common-non-dfsg/emacs-common-gfdl/g +find -type f |xargs rename s/emacs-common-non-dfsg/emacs-common-gfdl/g + sed -i '/Section:/,/Priority:/s|non-free/editors|editors|' debian/control sed -i '/Description:/s|non-DFSG ||' debian/control sed -i '/GNU Emacs is the/,$d' debian/control -- GitLab