Packages should not use %{_prefix} and friends to refer to absolute
paths for build dependencies, since this breaks rebuilding a package
with a different prefix than the system.
See https://lists.fedorahosted.org/archives/list/packaging@lists.fedoraproject.org/thread/BILZSHLQ7Y2GFIP3AMYNB6FFOFTLQNGM/
I haven't actually seen any examples where using absolute paths was necessary as described in the second part of the text - the one example I found - copying config.guess/sub from automake - turned out to be unnecessary since %configure uses its own copies. But included here for completeness.
Packages should not use %{_prefix} and friends to refer to absolute
paths for build dependencies, since this breaks rebuilding a package
with a different prefix than the system.
See https://lists.fedorahosted.org/archives/list/packaging@lists.fedoraproject.org/thread/BILZSHLQ7Y2GFIP3AMYNB6FFOFTLQNGM/
I haven't actually seen any examples where using absolute paths was necessary as described in the second part of the text - the one example I found - copying config.guess/sub from automake - turned out to be unnecessary since %configure uses its own copies. But included here for completeness.