From f4dcea2afcd5ca717982ba0abab77142f6f34191cc4b9817b9b5b2db54df3458 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 26 Apr 2021 22:40:05 +0000 Subject: [PATCH] Accepting request 888484 from home:Guillaume_G:branches:games - Enable nvidia-texture-tools only on supported archs OBS-URL: https://build.opensuse.org/request/show/888484 OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=106 --- 0ad.changes | 5 +++++ 0ad.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/0ad.changes b/0ad.changes index 5cb6dd0..6f314ef 100644 --- a/0ad.changes +++ b/0ad.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 26 12:33:03 UTC 2021 - Guillaume GARDET + +- Enable nvidia-texture-tools only on supported archs + ------------------------------------------------------------------- Fri Apr 9 22:29:43 UTC 2021 - Ferdinand Thiessen diff --git a/0ad.spec b/0ad.spec index 0f470e1..72d81d8 100644 --- a/0ad.spec +++ b/0ad.spec @@ -15,8 +15,12 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +# Enable NVTT only on arch supported by nvidia-texture-tools +%ifarch %{ix86} x86_64 ppc %bcond_without system_nvtt +%else +%bcond_with system_nvtt +%endif %if 0%{?suse_version} >= 1550 %bcond_without system_mozjs %else