From d73052d5760c6a1a9736cfee8dfde1ddaa814494 Mon Sep 17 00:00:00 2001 From: Fincer Date: Tue, 28 Feb 2017 13:35:30 +0200 Subject: [PATCH] Update OpenSUSE spec file --- data/linux/opensuse/openra.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/data/linux/opensuse/openra.spec b/data/linux/opensuse/openra.spec index c9b3881..696b62d 100755 --- a/data/linux/opensuse/openra.spec +++ b/data/linux/opensuse/openra.spec @@ -23,8 +23,8 @@ Summary: Recreation of the early Command & Conquer games License: GPL-3.0 Group: Amusements/Games/Strategy/Real Time Source: %{name}-%{version}.tar.gz -Source2: thirdparty.tar.gz -Source3: http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz +##Source2: thirdparty.tar.gz +##Source3: http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: desktop-file-utils @@ -63,13 +63,13 @@ Red Alert as well as Dune 2000 if the original game files are provided. %prep -%setup -q -n %{name}-%{version} -a2 +##%setup -q -n %{name}-%{version} -a2 +%setup -q -n %{name}-%{version} make version %build -mkdir -p ./thirdparty/download - -cp %{SOURCE3} ./thirdparty/download +##mkdir -p ./thirdparty/download +##cp %{SOURCE3} ./thirdparty/download make dependencies make core @@ -84,11 +84,9 @@ make DESTDIR="%{buildroot}" prefix=%{_prefix} install-linux-appdata make DESTDIR="%{buildroot}" prefix=%{_prefix} install-man-page 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/common/{OpenRA.Mods.Common.dll.mdb,OpenRA.Mods.Cnc.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