From c3d126f8d9585bd7b9d0d8b5467239e85f0f64a0 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Wed, 30 Jun 2021 12:08:47 +0200 Subject: [PATCH] TT#127355 use override_dh_install instead of execute_after_* Change-Id: Ia8707c7c09e588c6f010af6c51aa95f28a2f4760 (cherry picked from commit 4b0aeb2c0c05358cf4f8e6a5d48ce6ef64274d26) --- debian/rules | 3 ++- lib/NGCP/BulkProcessor/Projects/ETL/Customer/process.pl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 7f2ea9c..1d98857 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,8 @@ include /usr/share/dpkg/pkg-info.mk %: dh "$@" -execute_after_dh_install: +override_dh_install: + dh_install find debian/lib*-perl -name process.pl -print0 | \ xargs -0 sed -i \ -e 's/^our \$$VERSION = .*/our \$$VERSION = "$(DEB_VERSION)";/' diff --git a/lib/NGCP/BulkProcessor/Projects/ETL/Customer/process.pl b/lib/NGCP/BulkProcessor/Projects/ETL/Customer/process.pl index 7a71728..1299677 100644 --- a/lib/NGCP/BulkProcessor/Projects/ETL/Customer/process.pl +++ b/lib/NGCP/BulkProcessor/Projects/ETL/Customer/process.pl @@ -3,7 +3,7 @@ use strict; ## no critic BEGIN { -our $VERSION = "0.0"; +our $VERSION = '0.0'; } use File::Basename;