diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-04-07 23:39:07 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-04-07 23:39:07 +0300 |
commit | f040a2448230c6f58f8fe863c2fce76a504508ed (patch) | |
tree | 1cedfc2a96a47c2b935f81f5f7b5fb6397a069e7 | |
parent | 38c616f7c096cee06c592dd0a4989093c819e69b (diff) |
d/rules: handle epoch in the package version
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 6df0fbc..dba9845 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f SHELL := sh -e -VERSION := $(shell dpkg-parsechangelog -SVersion | sed -e 's/+linaro.*//g') +VERSION := $(shell dpkg-parsechangelog -SVersion | sed -e 's/^[0-9]\+://g' -e 's/+linaro.*//g') UPSTREAM_SOURCE = RB5_firmware DIR_ORIG = $(UPSTREAM_SOURCE)_$(VERSION) |