Richard Shade
2008-03-17 19:53:38 UTC
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
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/
Thanks,
Richard Shade
RightScale
http://www.rightscale.com/