On Friday 06 March 2009 17:41:34 James Antill wrote: > On Fri, 2009-03-06 at 07:05 -0800, Tom London wrote: > > Are you saying that, for example, gnome-panel.x86_64 should change its > > requires of gnome-session-xsession to > > > > gnome-session-xsession%{_isa} > > It probably doesn't need to. > > > If so, I'm guessing there are "lots of these". > > The cases where you have to add it are: > > 1. You have a dep. from pkgA to pkgB where the arch _must_ be the same > (Eg. any dep. on coreutils doesn't require a specific arch, because you > are just running a program). > > 2. pkgA doesn't have anything that would require the correct arch. (so > anything with a libpkgB.so()(64bit) shouldn't have any explicit > requires, and will just work). > > 3. pkgB is multilib. > > ...the "majority" of cases where it's a problem are things that have > deps. on *-devel pkgs. Esp. if you have pkgA-devel requires pkgB-devel, > usually the only way to do that is via. an explicit requires on > pkgB-devel%{_isa}. Is that explained somewhere in the packaging guidelines? I have made the error several time. Actually, I did not know %{_isa} before reading the current thread. -- Laurent Rineau http://fedoraproject.org/wiki/LaurentRineau -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list