1
1

rpmbuild: fix rpmtopdir redefinition

Erasing this variable by default makes outside definition useless.

Signed-off-by: Andrey Maslennikov <andreyma@mellanox.com>
(cherry picked from commit c7d51a3a837206cb4dc2ca8aa15d5b8f59598db4)
Этот коммит содержится в:
Andrey Maslennikov 2018-09-18 09:36:36 +03:00
родитель 3a584fee53
Коммит 547b7da664

1
contrib/dist/linux/buildrpm.sh поставляемый
Просмотреть файл

@ -267,7 +267,6 @@ fi
# Find where the top RPM-building directory is
#
rpmtopdir=
file=~/.rpmmacros
if test -r $file; then
rpmtopdir=${rpmtopdir:-"`grep %_topdir $file | awk '{ print $2 }'`"}