Mailinglist Archive: opensuse-packaging (42 mails)

< Previous Next >
[opensuse-packaging] Failed build dependencies with ifnarch
  • From: Todd Rme <toddrme2178@xxxxxxxxx>
  • Date: Wed, 22 May 2019 18:02:09 -0400
  • Message-id: <CADb7s=u_gXo87Crg-oML_4cQGeU7BhpKLPKQe6BL7GvJ2rqwjw@mail.gmail.com>
I am trying to disable tests due to a missing dependency on aarch64.
I try to do this:

%ifnarch aarch64
BuildRequires: python3-xarray
%endif

However, I get the following error when I try to build the package:

error: Failed build dependencies:
python3-xarray is needed by python-traittypes-0.2.1-17.1.noarch

How can I disable the BuildRequires: for that architecture without
triggering this error?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups