From fe0123435b093bb4317f2e17909f18dba790e1bc Mon Sep 17 00:00:00 2001
From: Luis Guzman <ark@switnet.org>
Date: Mon, 25 Jul 2022 18:23:00 +0000
Subject: [PATCH] hplip: track current release for hplip

---
 helpers/make-hplip | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/helpers/make-hplip b/helpers/make-hplip
index 49f24ecb..b156f45f 100644
--- a/helpers/make-hplip
+++ b/helpers/make-hplip
@@ -18,22 +18,15 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=1
+VERSION=2
 
 # note, we need version 3.20.6 or higher, the binary plugin requirement
 # was reworked on that version.
 
-EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu hirsute main universe'
-REPOKEY=871920D1991BC93C
 QUILT=skip
 
 . ./config
 
-sed '/debhelper-compat/s/13/12/' -i debian/control
-
-# This is somehow missing from the source tarball, fetched from Debian git
-cp $DATA/Common.h .
-
 rm debian/patches/*-Install-check-plugin.py-as-a-script.patch
 sed -i '/Install-check-plugin.py-as-a-script.patch/d' debian/patches/series
 sed '/plugin/d' -i debian/hplip-gui.manpages debian/hplip.manpages debian/hplip-gui.install debian/hplip.install
@@ -64,6 +57,13 @@ cp $output $printers
 
 rm $tmp $tmp2
 
+#Prevent failing on missing files
+cat << RULES >> debian/rules
+
+override_dh_missing:
+	dh_missing --list-missing
+RULES
+
 changelog "Removed printers with propietary drivers"
 
 compile
-- 
GitLab