Unset LOCALVERSION from the environment used to invoke make-kpkg.

svn path=/dists/exp/linux-2.6/; revision=5759
This commit is contained in:
Jurij Smakov 2006-02-09 04:44:39 +00:00
parent 76163c917c
commit 3474ef3580
1 changed files with 1 additions and 1 deletions

2
debian/rules.real vendored
View File

@ -42,7 +42,7 @@ endif
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
kpkg_image += --cross-compile='$(DEB_HOST_GNU_TYPE)'
endif
setup_env := env -u ABINAME -u ARCH -u SUBARCH -u FLAVOUR -u VERSION
setup_env := env -u ABINAME -u ARCH -u SUBARCH -u FLAVOUR -u VERSION -u LOCALVERSION
setup_env += DEBIAN_LOCALVERSION='-$(ABINAME)$(LOCALVERSION)'
setup_env += DEBIAN_LOCALVERSION_HEADERS='-$(ABINAME)$(LOCALVERSION_HEADERS)'
setup_env += DEBIAN_VERSION='$(VERSION)'