summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoon.c.baek <joon.c.baek@samsung.com>2015-12-22 16:43:35 +0900
committerjoon.c.baek <joon.c.baek@samsung.com>2015-12-22 16:43:35 +0900
commit0143e851101918c1ead75234a3ac67592e89600f (patch)
treee2b75729f3a8344a75b091ac1de039c5ce33bc68
parent1e203e5c23d353b2f9f3691989a32b5172041da1 (diff)
downloadttrace-0143e851101918c1ead75234a3ac67592e89600f.tar.gz
ttrace-0143e851101918c1ead75234a3ac67592e89600f.tar.bz2
ttrace-0143e851101918c1ead75234a3ac67592e89600f.zip
spec: use macro '%cmake' instead of 'cmake' command
Using 'cmake' command directly, ttrace.pc file does not contain 'libdir' path corretly. So, use '%cmake' macro to fix that problem. Change-Id: Ic57e4405017491965da717b849b094f28e95038f Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
-rwxr-xr-xpackaging/ttrace.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec
index 4807744..fa9bda8 100755
--- a/packaging/ttrace.spec
+++ b/packaging/ttrace.spec
@@ -46,7 +46,7 @@ T-trace library devel
%build
export CFLAGS="$CFLAGS -g -Wall -std=gnu99"
export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie"
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir}
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir}
make %{?jobs:-j%jobs}
%install