From b377e96dc2f2ce8131e254d8d7a7771f9ce65aa89b817e9baceb02974f4a634a Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Fri, 10 Jan 2025 21:33:02 +0000 Subject: [PATCH] Fix build and deduplicate OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=26 --- emptyepsilon.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emptyepsilon.spec b/emptyepsilon.spec index 97defe9..93b37ed 100644 --- a/emptyepsilon.spec +++ b/emptyepsilon.spec @@ -33,6 +33,7 @@ Patch1: use_bundled_meshoptimizer.patch BuildRequires: SDL2-devel BuildRequires: bsdtar BuildRequires: cmake +BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glm-devel @@ -91,14 +92,16 @@ export CXX=g++-10 %install %cmake_install +%fdupes %{buildroot}/%{_datadir} %files %doc README.md %{_bindir}/EmptyEpsilon -%{_docdir}/emptyepsilon/ +%{_docdir}/emptyepsilon/script_reference.html %{_datadir}/emptyepsilon/ %{_datadir}/applications/io.github.daid.EmptyEpsilon.desktop %{_datadir}/icons/hicolor/512x512/apps/io.github.daid.EmptyEpsilon.png +%{_datadir}/metainfo/io.github.daid.EmptyEpsilon.metainfo.xml %dir %{_datadir}/icons/hicolor/512x512/apps %dir %{_datadir}/icons/hicolor/512x512