From 10e2e125b6a010b876b6e572f307a1645a17e62d5fff5b41d60928ee2d2f7a5f Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Tue, 14 Jan 2020 14:16:11 +0000 Subject: [PATCH] Requires python-PeachPy on x86_64 only, as it is optional and available on x86_64 only OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-torch?expand=0&rev=5 --- python-torch.changes | 6 ++++++ python-torch.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-torch.changes b/python-torch.changes index 5f91df8..d4e98b8 100644 --- a/python-torch.changes +++ b/python-torch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 14 13:01:33 UTC 2020 - Guillaume GARDET + +- Requires python-PeachPy on x86_64 only, as it is optional + and available on x86_64 only + ------------------------------------------------------------------- Wed Jun 12 11:17:34 UTC 2019 - Christian Goll diff --git a/python-torch.spec b/python-torch.spec index 643189f..6fb553d 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -55,7 +55,9 @@ BuildRequires: %{python_module devel} BuildRequires: %{pythons} BuildRequires: python-py-cpuinfo BuildRequires: python-pybind11-devel +%ifarch x86_64 BuildRequires: %{python_module PeachPy} +%endif BuildRequires: %{python_module opcodes} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module setuptools}