From 7ac2cab0827b8b6d601958be5e4550ac76181544 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sat, 10 Apr 2021 07:23:25 +0000 Subject: [PATCH] Fix Debian package warnings --- Makefile | 5 ++++- packaging/debian/changelog | 2 +- packaging/debian/control | 9 ++++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 79d771e..43d51bc 100644 --- a/Makefile +++ b/Makefile @@ -61,9 +61,12 @@ deb: $(Q) git archive --format tar --prefix lume-$(DEBVERSION)/ $(LUME_VERSION) | xz > $(DEBBUILDDIR)/$(DEBORIGSRC) $(Q) tar xf $(DEBBUILDDIR)/$(DEBORIGSRC) -C $(DEBBUILDDIR) $(Q) mkdir $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian + $(Q) mkdir $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/source $(Q) sed -e 's/__VERSION__/$(DEBVERSION)/g' $(DEBTMPLDIR)/rules > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/rules + $(Q) chmod 0755 $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/rules $(Q) sed -e 's/__VERSION__/$(DEBVERSION)/g' -e 's/__DATE__/$(DEBDATE)/g' $(DEBTMPLDIR)/changelog > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/changelog - $(Q) echo 9 > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/compat + $(Q) echo 10 > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/compat + $(Q) echo "3.0 (quilt)" > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/source/format $(Q) cp $(DEBTMPLDIR)/control $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/control $(Q) cd $(DEBBUILDDIR)/$(DEBORIGSRCDIR) && dpkg-buildpackage -us -uc $(Q) mv $(DEBBUILDDIR)/*.dsc $(BUILDDIR) diff --git a/packaging/debian/changelog b/packaging/debian/changelog index a003325..95fb994 100644 --- a/packaging/debian/changelog +++ b/packaging/debian/changelog @@ -1,4 +1,4 @@ -lume (__VERSION__) UNRELEASED; urgency=medium +lume (__VERSION__) unstable; urgency=medium * Package generated with make deb diff --git a/packaging/debian/control b/packaging/debian/control index 13dd407..87d5d58 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -1,7 +1,14 @@ Source: lume +Section: unknown +Priority: optional Maintainer: Ryan Cavicchioni +Build-Depends: debhelper (>= 10) +Standards-Version: 4.1.2 +Homepage: https://git.kill0.net/chill9/lume +Vcs-Git: https://git.kill0.net/chill9/lume.git +Vcs-Browser: https://git.kill0.net/chill9/lume.git Package: lume Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: A CLI tool for the LIFX HTTP API