kalev pushed to lincity-ng (master). "Fix the build"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 20:55:25 UTC 2015


>From b4cec9abaef8b58ed727d20c7e60edf71ce06a18 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember at gmail.com>
Date: Thu, 26 Mar 2015 21:54:30 +0100
Subject: Fix the build


diff --git a/lincity-ng.spec b/lincity-ng.spec
index 1d90ae7..3a22a54 100644
--- a/lincity-ng.spec
+++ b/lincity-ng.spec
@@ -35,8 +35,8 @@ play Lincity-NG.
 
 %prep
 %setup -q -n %{name}-%{version}.%{prever}
-sed -i "s/CFLAGS += -O3 -g -Wall/CFLAGS += $RPM_OPT_FLAGS/" Jamrules
-sed -i "s/CXXFLAGS += -O3 -g -Wall/CXXFLAGS += $RPM_OPT_FLAGS/" Jamrules
+sed -i "s|CFLAGS += -O3 -g -Wall|CFLAGS += $RPM_OPT_FLAGS|" Jamrules
+sed -i "s|CXXFLAGS += -O3 -g -Wall|CXXFLAGS += $RPM_OPT_FLAGS|" Jamrules
 sed -i 's|lincity-ng.png|lincity-ng|g' lincity-ng.desktop
 
 %build
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/lincity-ng.git/commit/?h=master&id=b4cec9abaef8b58ed727d20c7e60edf71ce06a18


More information about the scm-commits mailing list