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

spec file, with multiple architectures



I want to use one spec file for multiple architectures. However there is the following line in my spec file:
on i386
%attr(0644,root,root) %{_libdir}/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
on x86_64
%attr(0644,root,root) %{_libdir}/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod

is there a way to make this architecture independent like:
%attr(0644,root,root) %{_libdir}/perl5/5.8.8/%{_architecture}-linux-thread-multi/perllocal.pod



--
Thanks,

Richard Shade
RightScale
http://www.rightscale.com/
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]