summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-12 07:13:56 (GMT)
committerNikolai Merinov <n.merinov@samsung.com>2019-02-12 07:13:56 (GMT)
commit766b3de1b62f3ece8f3c72047c788dd9cf357f62 (patch)
treefba8e6f3a036b6ede0d534daad9d25c3002b68a7
parentcb91536511fe9ece8e08878644e90c7444cff77e (diff)
downloadcmocka-sandbox/nmerinov/llvm.zip
cmocka-sandbox/nmerinov/llvm.tar.gz
cmocka-sandbox/nmerinov/llvm.tar.bz2
Move cmake configuration to %build stagesandbox/nmerinov/llvm
-rw-r--r--packaging/cmocka.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/cmocka.spec b/packaging/cmocka.spec
index ad66906..0618c37 100644
--- a/packaging/cmocka.spec
+++ b/packaging/cmocka.spec
@@ -26,11 +26,10 @@ Standard header files for use when developing cmocka based apps
%setup -q
cp %{SOURCE1001} .
mkdir build
-cd build
-cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_INSTALL_DIR=%{_libdir} ../
%build
cd build
+cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_INSTALL_DIR=%{_libdir} ../
make %{?jobs:-j%jobs}
%install