Fix sed delimeter

This commit is contained in:
Orion Poplawski 2015-04-15 09:17:23 -06:00
parent 7528fea3ed
commit 2e43584ec5

View File

@ -46,7 +46,7 @@ This package contains the documentation for %{name}
%setup -q -n %{name}-src-%{src_version} %setup -q -n %{name}-src-%{src_version}
%patch0 -dsrc/lib_json -p1 %patch0 -dsrc/lib_json -p1
grep -e "-Wall" SConstruct grep -e "-Wall" SConstruct
sed 's/CCFLAGS = "-Wall"/CCFLAGS = "%{optflags}"/' -i SConstruct sed 's|CCFLAGS = "-Wall"|CCFLAGS = "%{optflags}"|' -i SConstruct
%build %build
scons platform=linux-gcc %{?_smp_mflags} scons platform=linux-gcc %{?_smp_mflags}