[opensuse] Howto build matching 32-bit package on x86_64?
Devs, I can easily build 64-bit packages from the leap sources via srpm install, (modify sources/spec), then 'rpmbuild -bb specfile.spec'. But howto (what) to specify as the --target to create the associated foo-32-bit.rpm? Or is there some different way altogether that needs to be used to create the 32-bit package? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Dec 29, 2016 at 9:06 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Devs,
I can easily build 64-bit packages from the leap sources via srpm install, (modify sources/spec), then 'rpmbuild -bb specfile.spec'. But howto (what) to specify as the --target to create the associated foo-32-bit.rpm?
Normally "--target i386" should suffice (pick your flavor - i486, i586, ...)
Or is there some different way altogether that needs to be used to create the 32-bit package?
OBS, osc. Actually, if you are going to modify openSUSE packages, this is preferred way. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/29/2016 12:25 AM, Andrei Borzenkov wrote:
On Thu, Dec 29, 2016 at 9:06 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Devs,
I can easily build 64-bit packages from the leap sources via srpm install, (modify sources/spec), then 'rpmbuild -bb specfile.spec'. But howto (what) to specify as the --target to create the associated foo-32-bit.rpm?
Normally "--target i386" should suffice (pick your flavor - i486, i586, ...)
Thanks Andrei, this is what I was looking for. I'll give it a go and see if all goes well.
Or is there some different way altogether that needs to be used to create the 32-bit package?
OBS, osc. Actually, if you are going to modify openSUSE packages, this is preferred way.
Yes, for some packages I use my obs account, but for just trying things out, I stick to ~/rpmbuild (I like to know I can rebuild what I need without an internet connection required) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
David C. Rankin