first of all dont hijack threads. On 2007-04-17 08:07:06 +0200, Manuel Arostegui Ramirez wrote:
I'd like to create a dir into the buildroot PATH by using the output of a variable. Let me explain.
Imagine something like:
perl=`rpm -q --queryformat='%{VERSION}' perl` %define perl %(rpm -q --queryformat='%{VERSION}' perl)
(see also %perl_version and grep '%perl' /usr/lib/rpm/macros)
So the point really is, I'd like to do something like: mkdir -p $RPM_BUILD_ROOT/`echo $perl` mkdir -p $RPM_BUILD_ROOT/%{perl}
Is that possible? Any ideas will be really appreaciated.
yes. what is the real path you want to create? there are other macros for various paths of the perl dir structure most likely you want %perl_vendorarch or %perl_vendorlib? hope this helps, darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org