RPM Community Forums

Mailing List Message of <rpm-devel>

Re: error in devtool build

From: Anders F Björklund <afb@rpm5.org>
Date: Thu 13 Dec 2007 - 16:36:11 CET
Message-Id: <6a50ea42f9c3be6c19b5dc84ee713aea@rpm5.org>
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
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.