pck-update.in: set %_buildrootdir to tmppath_dir to preserve usual buildroot path since rpm 4.19
This commit is contained in:
parent
b391f4952c
commit
4613acdc52
@ -2112,7 +2112,8 @@ ${proxy:+--proxy $proxy} ${proxy_user:+--proxy-user $proxy_user} \
|
|||||||
--define=\"%_specdir $spec_dir\" \
|
--define=\"%_specdir $spec_dir\" \
|
||||||
--define=\"%_sourcedir $source_dir\" \
|
--define=\"%_sourcedir $source_dir\" \
|
||||||
--define=\"%_builddir $build_dir\" \
|
--define=\"%_builddir $build_dir\" \
|
||||||
--define=\"%_tmppath $tmppath_dir\""
|
--define=\"%_tmppath $tmppath_dir\" \
|
||||||
|
--define=\"%_buildrootdir $tmppath_dir\""
|
||||||
|
|
||||||
# [ "$rpm_rootdir" ] &&
|
# [ "$rpm_rootdir" ] &&
|
||||||
# rpmbuild_opts="$rpmbuild_opts $rpm_root_opts"
|
# rpmbuild_opts="$rpmbuild_opts $rpm_root_opts"
|
||||||
|
Loading…
Reference in New Issue
Block a user