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