From 11053571d5f78b286ee728f026f942b7dc9daac6 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 9 Apr 2021 00:05:08 +0000 Subject: [PATCH] Move debian files Refs #7 --- debian/changelog | 5 ----- packaging/debian/changelog | 5 +++++ {debian => packaging/debian}/compat | 0 {debian => packaging/debian}/control | 1 + {debian => packaging/debian}/rules | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 debian/changelog create mode 100644 packaging/debian/changelog rename {debian => packaging/debian}/compat (100%) rename {debian => packaging/debian}/control (75%) rename {debian => packaging/debian}/rules (81%) diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index f02aca2..0000000 --- a/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -lume (0.1.0) UNRELEASED; urgency=medium - - * Fake entry. - - -- Ryan Cavicchioni Thu, 08 Apr 2021 02:14:36 +0000 diff --git a/packaging/debian/changelog b/packaging/debian/changelog new file mode 100644 index 0000000..a003325 --- /dev/null +++ b/packaging/debian/changelog @@ -0,0 +1,5 @@ +lume (__VERSION__) UNRELEASED; urgency=medium + + * Package generated with make deb + + -- Ryan Cavicchioni __DATE__ diff --git a/debian/compat b/packaging/debian/compat similarity index 100% rename from debian/compat rename to packaging/debian/compat diff --git a/debian/control b/packaging/debian/control similarity index 75% rename from debian/control rename to packaging/debian/control index 1b49db4..13dd407 100644 --- a/debian/control +++ b/packaging/debian/control @@ -3,4 +3,5 @@ Maintainer: Ryan Cavicchioni Package: lume Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} Description: A CLI tool for the LIFX HTTP API diff --git a/debian/rules b/packaging/debian/rules similarity index 81% rename from debian/rules rename to packaging/debian/rules index 3c27d98..0f7fb89 100755 --- a/debian/rules +++ b/packaging/debian/rules @@ -1,8 +1,8 @@ #!/usr/bin/make -f DISTRIBUTION = $(shell lsb_release -sr) -VERSION = 0.1.0 -PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0 +VERSION = __VERSION__ +PACKAGEVERSION = $(VERSION) %: dh $@