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... ===== 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 <
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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org