Hi all, Just found one old bugzilla link https://bugzilla.redhat.com/show_bug.cgi?id=235755 which tells rpm in rawhide allows arch specific Requires: in spec. Just want to know is it possible in Fedora and since which rpm version? I found link from comment #19 is not working. Is there any package in fedora currently using this? Just curious to know what will be the case where one really need arch specific Requires? I can't find anything related to this written in http://fedoraproject.org/wiki/Packaging/Guidelines#Requires
Regards, Parag.
Parag N(पराग़) wrote:
Hi all, Just found one old bugzilla link https://bugzilla.redhat.com/show_bug.cgi?id=235755 which tells rpm in rawhide allows arch specific Requires: in spec. Just want to know is it possible in Fedora and since which rpm version? I found link from comment #19 is not working. Is there any package in fedora currently using this? Just curious to know what will be the case where one really need arch specific Requires? I can't find anything related to this written in http://fedoraproject.org/wiki/Packaging/Guidelines#Requires
Try this:
Requires: somepackage%{?_isa}
Paul.
Paul Howarth schrieb:
Try this:
Requires: somepackage%{?_isa}
Therefor I have two question:
Does the buildsystem support it?
Can I specify several archs.
I assume arch depending requirtes are not helpful yet. I have a package called fedora-ksplice which contains only shell scripts, so it may be a noarch package. But unfortunately it's depends on ksplice which is only available for %{x86} and x86_64. This caused, that the package could not build as an noarch package, because that make no sense to put a noarch fedora-ksplice package to a ppc repository.
Best Regards:
Jochen Schmitt
On Thursday 14 May 2009, Jochen Schmitt wrote:
I assume arch depending requirtes are not helpful yet. I have a package called fedora-ksplice which contains only shell scripts, so it may be a noarch package. But unfortunately it's depends on ksplice which is only available for %{x86} and x86_64. This caused, that the package could not build as an noarch package, because that make no sense to put a noarch fedora-ksplice package to a ppc repository.
As I suggested in bug 498707, you should be able to build it as noarch and use ExclusiveArch to limit the arch repos where it gets shipped.
packaging@lists.fedoraproject.org