mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 18:33:04 +00:00
21 lines
885 B
Diff
21 lines
885 B
Diff
![]() |
--- rpm-5.4.10/macros/macros.rpmbuild.in.realpath~ 2013-01-04 19:05:11.947714307 +0100
|
||
|
+++ rpm-5.4.10/macros/macros.rpmbuild.in 2013-01-04 19:04:46.741328887 +0100
|
||
|
@@ -326,7 +326,7 @@ echo "Patch #%{__patch_number} (%{basena
|
||
|
%___build_args -e
|
||
|
%___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}
|
||
|
%___build_pre \
|
||
|
- RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
|
||
|
+ RPM_BUILD_DIR=\"%{realpath:%{u2p:%{_builddir}}}\"\
|
||
|
RPM_OPT_FLAGS=\"%{optflags}\"\
|
||
|
export RPM_BUILD_DIR RPM_OPT_FLAGS\
|
||
|
%{?buildroot:RPM_BUILD_ROOT=\"%{u2p:%{buildroot}}\"\
|
||
|
@@ -345,7 +345,7 @@ echo "Patch #%{__patch_number} (%{basena
|
||
|
\
|
||
|
%{verbose:set -x}%{!verbose:exec > /dev/null}\
|
||
|
umask 022\
|
||
|
- cd "%{u2p:%{_builddir}}"\
|
||
|
+ cd "%{realpath:%{u2p:%{_builddir}}}"\
|
||
|
|
||
|
|
||
|
#%___build_body %{nil}
|