From 69b6b29d31c116185b05fb888f6d3e912ae3ed2a Mon Sep 17 00:00:00 2001 From: Fincer Date: Tue, 15 Nov 2016 16:21:27 +0200 Subject: [PATCH] Delete buildtime files + add openra-server --- data/linux/opensuse/openra.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/linux/opensuse/openra.spec b/data/linux/opensuse/openra.spec index 6ba60c6..6135352 100755 --- a/data/linux/opensuse/openra.spec +++ b/data/linux/opensuse/openra.spec @@ -83,6 +83,14 @@ make DESTDIR="%{buildroot}" prefix=%{_prefix} install-linux-mime make DESTDIR="%{buildroot}" prefix=%{_prefix} install-linux-appdata make DESTDIR="%{buildroot}" prefix=%{_prefix} install-man-page +rm -rf %{buildroot}/usr/lib/openra/{SharpFont.dll.config,SDL2-CS.dll.config,OpenAL-CS.dll.config,Eluant.dll.config} +rm -rf %{buildroot}/usr/lib/openra/mods/cnc/OpenRA.Mods.Cnc.dll.mdb +rm -rf %{buildroot}/usr/lib/openra/mods/common/OpenRA.Mods.Common.dll.mdb +rm -rf %{buildroot}/usr/lib/openra/mods/d2k/OpenRA.Mods.D2k.dll.mdb +rm -rf %{buildroot}/usr/lib/openra/mods/ra/OpenRA.Mods.RA.dll.mdb +rm -rf %{buildroot}/usr/lib/openra/mods/ra2/{.gitattributes,.gitignore,.travis.yml,build.cake,OpenRA.Mods.RA2.dll.mdb,make.cmd,make.ps1,makefile} +rm -rf %{buildroot}/usr/lib/openra/mods/ts/OpenRA.Mods.TS.dll.mdb + %if 0%{?suse_version} %fdupes %{buildroot}%{_prefix}/lib %endif @@ -104,6 +112,7 @@ make DESTDIR="%{buildroot}" prefix=%{_prefix} uninstall %defattr(-,root,root) %doc DOCUMENTATION.md Lua-API.md README.md %{_bindir}/openra +%{_bindir}/openra-server %{_prefix}/lib/openra/ %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/*