From 4e8c0b80551e7fc7455c6ff8d2d3407c64e23bc3 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Thu, 6 Jun 2019 08:49:20 -0400 Subject: [PATCH] [Dist] typo fix $ --> % % is the macro character in RPM/spec. $ is a typo. Signed-off-by: MyungJoo Ham --- packaging/nnstreamer.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index d98600a..04aaa8b 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -174,12 +174,12 @@ CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage" mkdir -p build %ifarch x86_64 aarch64 -enable_tf=true +%define enable_tf true %else -enable_tf=false +%define enable_tf false %endif -meson --buildtype=plain --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --bindir=%{nnstexampledir} --includedir=%{_includedir} -Dinstall-example=true -Denable-tensorflow=${enable_tf} -Denable-pytorch=false %{api} -Denable-env-var=false -Denable-symbolic-link=false build +meson --buildtype=plain --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --bindir=%{nnstexampledir} --includedir=%{_includedir} -Dinstall-example=true -Denable-tensorflow=%{enable_tf} -Denable-pytorch=false %{api} -Denable-env-var=false -Denable-symbolic-link=false build ninja -C build %{?_smp_mflags} -- 2.7.4