spec file, with multiple architectures

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

 



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
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux