chore: Handle 32-bit mangohud properly

This commit is contained in:
Kyle Gospodnetich 2024-06-28 00:25:48 -07:00
parent 1cfb24d315
commit 51f8faf34d

View File

@ -24,6 +24,11 @@
%bcond_without tests
%endif
# Disable unpackaged files check for 32-bit builds shipping with conflicting files
%if %{__isa_bits} != 64
%define _unpackaged_files_terminate_build 0
%endif
Name: mangohud
Version: 0.7.2
Release: %autorelease
@ -152,18 +157,19 @@ sed -i "s@#!/usr/bin/env python@#!/usr/bin/python3@" \
%files
%license LICENSE
%doc README.md
%if %{__isa_bits} == 64
%{_bindir}/%{name}*
%{_bindir}/mangoapp
%{_bindir}/mangoplot
%{_datadir}/icons/hicolor/scalable/*/*.svg
%{_datadir}/vulkan/implicit_layer.d/*Mango*.json
%{_docdir}/%{name}/%{appname}.conf.example
%{_docdir}/%{name}/presets.conf.example
%{_libdir}/%{name}/
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/mangoapp.1*
%{_metainfodir}/*.metainfo.xml
%endif
%{_datadir}/vulkan/implicit_layer.d/*Mango*.json
%{_libdir}/%{name}/
%changelog
* Mon Oct 02 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-6