From 51f8faf34ddb18290443184d5ee08f99b896daf1 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 28 Jun 2024 00:25:48 -0700 Subject: [PATCH] chore: Handle 32-bit mangohud properly --- spec_files/mangohud/mangohud.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/spec_files/mangohud/mangohud.spec b/spec_files/mangohud/mangohud.spec index 298458c5..df1f741d 100644 --- a/spec_files/mangohud/mangohud.spec +++ b/spec_files/mangohud/mangohud.spec @@ -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 - 0.7.0-6