removed VERSION param from dh_auto_configure
authorArun Kumar Pariyar <expertaruncorp@gmail.com>
Mon, 18 May 2020 20:36:26 +0000 (02:21 +0545)
committerArun Kumar Pariyar <expertaruncorp@gmail.com>
Mon, 18 May 2020 20:36:26 +0000 (02:21 +0545)
debian/rules

index 4eb3c6315be5b412079fb91afe3d5d042773558c..1654bec6fca3ba699de497d6c9bcf7fddbcac1af 100755 (executable)
@@ -17,24 +17,11 @@ include /usr/share/dpkg/buildflags.mk
 
 include /usr/share/dpkg/architecture.mk
 
-ifneq (,$(wildcard .git/config))
-       CONFIG_VERSION=
-else
-VERSION = $(DEB_VERSION_UPSTREAM)
-_PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}')
-_BUILD_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-9]//g')
-ifeq ($(_BUILD_VER),)
-       CONFIG_VERSION = $(_PACK_VER)
-else
-       CONFIG_VERSION = $(_PACK_VER).$(_BUILD_VER)
-endif
-endif
-
 %:
        dh $@
 
 override_dh_auto_configure:
-       dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) VERSION=$(CONFIG_VERSION)
+       dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_makeshlibs:
        dh_makeshlibs -V