https://bugzilla.redhat.com/show_bug.cgi?id=1757993



--- Comment #2 from Ankur Sinha (FranciscoD) <[email protected]> ---
(In reply to Qianqian Fang from comment #1)
> One question I have is about BuildArch - the code is portable and supports
> both i386 and x86_64, but if I change 
> 
>   ExclusiveArch: x86_64
> 
> to 
> 
>   BuildArch: i386, x86_64
> 
> 
> then rpmlint gives an error: buildarch-instead-of-exclusivearch-tag
> 
> is i386 no longer supported?

If the code is portable, then you must use `BuildArch: noarch`. It must build
on all platforms that Fedora currently supports. You only use ExclusiveArch etc
if the software does not support the whole set:
https://fedoraproject.org/wiki/Architectures

And then tracker bugs must be filed to clarify this:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_support

> 
> 
> another question - do I need to explicitly add zlib as as Requires if octave
> already contains this dependency?
> 
> thanks

It is better to add it here explicitly---we should not rely on another package
pulling it into the transaction.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to