diff options
author | gustavo panizzo <gfa@zumbi.com.ar> | 2018-07-31 10:28:53 +0800 |
---|---|---|
committer | gustavo panizzo <gfa@zumbi.com.ar> | 2018-07-31 10:28:53 +0800 |
commit | 8ecd634fba9cdde153daef8bb945905fb3d46429 (patch) | |
tree | 51b91f696ce592251a4ecdcb3a2d761401a9b951 | |
parent | ec40c1404d8478e6147e919966b48c891ab96b8f (diff) |
git-debrebase convert-from-gbp: drop patches from tree
Delete debian/patches, as part of converting to git-debrebase format.
[git-debrebase convert-from-gbp: drop patches from tree]
-rw-r--r-- | debian/patches/debian-ways | 24 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/debian-ways b/debian/patches/debian-ways deleted file mode 100644 index 0aec10b..0000000 --- a/debian/patches/debian-ways +++ /dev/null @@ -1,24 +0,0 @@ -Description: - This patch overrides upstream's method to detect the release - version -Forwarded: no -Author: gustavo panizzo <gfa@zumbi.com.ar> -Last-Update: 2018-03-11 ---- a/Makefile -+++ b/Makefile -@@ -15,7 +15,14 @@ CC ?= gcc - CFLAGS ?= -g -O0 - CFLAGS += -Wall -Wextra -std=c99 -pedantic - GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags) --CFLAGS += -DPROGRAM_VERSION=\"$(GIT_VERSION)\" -+ -+# Gets the full version of the source package including debian version -+DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') -+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) -+# # Gets only the upstream version of the package -+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') -+ -+CFLAGS += -DPROGRAM_VERSION=\"$(DEB_UPSTREAM_VERSION)\" - - ifeq ($(UNAME_S),Linux) - LDFLAGS += -Wl,-z,relro -lusb-1.0 diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index b2e9488..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -debian-ways |