Browse Source

TT#49106 Do not parse dpkg-parsechangelog output directly

Let's use one of the dpkg Makefile fragments instead.

Change-Id: I0dc9bcb9ccd8e76ccd3bb1ce20b7b88cb0bb90d0
changes/66/25866/2
Guillem Jover 7 years ago
parent
commit
0546f2d6c1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      debian/rules

+ 3
- 1
debian/rules View File

@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1 # export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
## kernel package specific stuff ## kernel package specific stuff
# Name of the source package # Name of the source package
psource:=ngcp-rtpengine-kernel-source psource:=ngcp-rtpengine-kernel-source
@ -12,7 +14,7 @@ pdkms:=ngcp-rtpengine-kernel-dkms
# short upstream name, used for module source directory # short upstream name, used for module source directory
sname:=ngcp-rtpengine sname:=ngcp-rtpengine
# Source version # Source version
sversion:=$(shell dpkg-parsechangelog -SVersion | sed -e 's/^[^:]\+://;s/-[^-]\+$$//')
sversion:=$(DEB_VERSION_UPSTREAM)
PACKAGE=ngcp-rtpengine-kernel PACKAGE=ngcp-rtpengine-kernel
## end of kernel package specific stuff ## end of kernel package specific stuff


Loading…
Cancel
Save