Setting different architecture on different subpackages?

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

 



Is there any way I can tell rpmbuild to generate rpms with a separate architecture (%ARCH tags) for each subpackage, when building more than one rpm via the %package directive?

What I have in mind is something like:

   Name: someapp
   Version: 1
   Release: 1
   [ ... ]

   %package binaries
   BuildArch: i386

   [ ... ]

   %package config
   BuildArch: noarch

- to create someapp-binaries-1-1.i386 and someapp-config-1-1.noarch - only this won't work (the way I want), as far as I can tell, since "BuildArch:" is applied globally; ARCH will actually be set to "i386" for both packages in this case.

- Toralf

_______________________________________________
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