kbuild: rpm-pkg: replace $RPM_BUILD_ROOT with %{buildroot}
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 30 Sep 2017 01:10:08 +0000 (10:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 14 Nov 2017 14:19:01 +0000 (23:19 +0900)
commit002494d87d51cb87a4dd7bd11743113cd759e714
tree6221b14850f9aba8f4a05cd78ba65acedd5ca041
parent0b7f12f5912de636a9c1671ee343f31f21c42b2f
kbuild: rpm-pkg: replace $RPM_BUILD_ROOT with %{buildroot}

$RPM_BUILD_ROOT must be escaped to prevent shell from expanding it
when generating the spec file.

%{build_root} is more readable than \$RPM_BUILD_ROOT.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkspec