
I'd like to make Vdsm a pure noarc package, by shedding the remaining "safelease" binary to a helper package and posted http://gerrit.ovirt.org/30678 on these lines. However, this patch is not enough - when built on an x86_64 host, rpm still recognizes vdsm.rpm and vdsm-python.rpm as x86_64 instead of noarch. Dropping all mentions of x86_64 from the spec did not help, either. Is there an RPM wizard around who can tell me why is this auto-detection happening, and how can it be avoided? Dan.

I am pretty sure you have to tell rpm that it is supposed to be noarch package: BuildArch: noarch I do not see that anywhere in that patch. -- Martin Sivák msivak@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ ----- Original Message -----
I'd like to make Vdsm a pure noarc package, by shedding the remaining "safelease" binary to a helper package and posted http://gerrit.ovirt.org/30678 on these lines.
However, this patch is not enough - when built on an x86_64 host, rpm still recognizes vdsm.rpm and vdsm-python.rpm as x86_64 instead of noarch. Dropping all mentions of x86_64 from the spec did not help, either.
Is there an RPM wizard around who can tell me why is this auto-detection happening, and how can it be avoided?
Dan.

On Thu, Jul 24, 2014 at 07:37:45AM -0400, Martin Sivak wrote:
I am pretty sure you have to tell rpm that it is supposed to be noarch package:
BuildArch: noarch
I do not see that anywhere in that patch.
Thanks, it did the trick. Now the only problem is the x86_64-only dmidecode requirement. Yaniv, can it be changed to a soft requirement?

On 07/24/2014 03:42 PM, Dan Kenigsberg wrote:
On Thu, Jul 24, 2014 at 07:37:45AM -0400, Martin Sivak wrote:
I am pretty sure you have to tell rpm that it is supposed to be noarch package:
BuildArch: noarch
I do not see that anywhere in that patch.
Thanks, it did the trick.
Now the only problem is the x86_64-only dmidecode requirement. Yaniv, can it be changed to a soft requirement? s yes, this is actually not needed as build requirement , if that's what you mean
http://gerrit.ovirt.org/30682 -- Yaniv Bronhaim.
participants (3)
-
Dan Kenigsberg
-
Martin Sivak
-
ybronhei