[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Conflicting _target in rpmrc for new Solaris distro



Hi,

For the last couple months I've been working on
building an RPM distro to sit on top of Solaris.  I'm
now updating my rpm source rpm to do platform-specific
macros but am running into a slight problem.

Essentially the %{_target} value that is getting
interpreted in the rpmrc  'macrofiles:' line is
different than the value for %{_target} if i run 'rpm
--eval %{_target}.

output follows:

RPMRC VALUES:
macrofiles: /opt/rpmsw/lib/rpm/sun4u-solaris2.8

but {%_target} becomes sparc-solaris2.8

So essentially my per-platform macros never get parsed
because they're all under sparc-solaris2.8 and such. 
Any thoughts?

An ugly workaround would be for me to just make a
symlink in my %{_libdir}/rpm from
sparc-mydistro-solaris to sun4u-solaris2.8 but I'd
rather if it wore fixed upstream.

thanks in advance,
Garrett Conaty

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []