Move cmake command to %build section where it belongs 98/32398/1
authorYury Usishchev <y.usishchev@samsung.com>
Wed, 17 Dec 2014 16:32:27 +0000 (19:32 +0300)
committerYury Usishchev <y.usishchev@samsung.com>
Wed, 17 Dec 2014 16:43:19 +0000 (19:43 +0300)
Change-Id: I6c7ed07a79374d1da3a1669250e4aff1508cb750
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
packaging/udisks-automount-agent.spec

index fa39dbb..ed41baf 100644 (file)
@@ -50,11 +50,11 @@ Requires:   %{name} = %{version}-%{release}
 %prep
 %setup -q
 cp -a %{SOURCE1} .
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSYSTEMD_SERVICE_DIR=%{_unitdir_user} -DENABLE_NOTIF=%{enable_notifications}
 
 
 
 %build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSYSTEMD_SERVICE_DIR=%{_unitdir_user} -DENABLE_NOTIF=%{enable_notifications}
 make %{?jobs:-j%jobs}