spec file, with multiple architectures

"Richard Shade" <[email protected]> Mon, 17 Mar 2008 14:53:38 -0500
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
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/

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list