Jason Corley wrote:
> The lack of lazy mkdir is one problem, the other appears to be the
> macros.in doesn't use $prefix but rather %{_var} for repackage dir...
> Would it be a good idea to change all the filesystem macros in
> macros.in to obey $prefix?
I changed the %{repackagedir} away from %{_topdir}/RPM,
and used %{_var} as the new location to replace /var...
Seemed to make sense at the time, since the values for
%{_dbpath} and %{_tmppath} also used it for their defaults ?
But I currently do a search/replace later on in my build,
to replace "%{_prefix}/etc" and "%{_prefix}/var" with the
proper values, so I guess it could just default to being
located under %{_prefix} even if it doesn't work for /usr.
--anders
Received on Thu Dec 13 16:36:13 2007