Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] SLES11 SP3 x86_64 not considered as x86_64?
On Thursday 2014-06-26 00:46, Martin Koegler wrote:

I noticed a strange behaviour.

https://build.opensuse.org/package/view_file/devel:languages:haskell/ghc-rpm-macros/ghc-rpm-macros.spec
=====
install -p -D -m 0644 ghc-rpm-macros.ghc-srpm
%{buildroot}/%{macros_dir}/macros.ghc-srpm

# this is why this package is now arch-dependent:
# turn off shared libs and dynamic linking on secondary archs
%ifnarch %{ix86} x86_64
cat >> %{buildroot}%{macros_dir}/macros.ghc <<EOF
====

yada, you have an unguarded BuildArch: noarch in the .spec, which the
old rpm in SLE11 does not support as such. Your package builds as
noarch, so no, %if(n)arch x86_64 won't match in that case.

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References