[opensuse-packaging] Packaging when source is different for each arch
Aloha all, The latest Dropbox release has been split into a tarball for x86 and one for x86_64. Is it valid to have the following in the spec? %ifarch x86_64 Source: dropbox-lnx.x86_64-0.6.507.tar.gz %else Source: dropbox-lnx.x86-0.6.507.tar.gz %endif Many thanks, Andy -- Andrew Wafaa, openSUSE Member: FunkyPenguin openSUSE: Get It, Discover It, Create It at http://www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Apr 09, 2009 at 12:45:03PM +0100, Andrew Wafaa wrote:
Aloha all,
The latest Dropbox release has been split into a tarball for x86 and one for x86_64. Is it valid to have the following in the spec?
%ifarch x86_64 Source: dropbox-lnx.x86_64-0.6.507.tar.gz %else Source: dropbox-lnx.x86-0.6.507.tar.gz %endif
No. Pack all sources always and then select the correct %{SOURCEx} later on. So it will just need 1 source rpm. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le jeudi 09 avril 2009, Andrew Wafaa a écrit :
Aloha all,
The latest Dropbox release has been split into a tarball for x86 and one for x86_64. Is it valid to have the following in the spec?
%ifarch x86_64 Source: dropbox-lnx.x86_64-0.6.507.tar.gz %else Source: dropbox-lnx.x86-0.6.507.tar.gz %endif
I am no expert but this looks totally right to me, yes. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Andrew Wafaa
-
Jean Delvare
-
Marcus Meissner