Fix build error with upgrade rpm 4.14: 47/183547/1
authorbiao716.wang <biao716.wang@samsung.com>
Sat, 9 Jun 2018 11:23:13 +0000 (19:23 +0800)
committerbiao716.wang <biao716.wang@samsung.com>
Sat, 9 Jun 2018 11:25:16 +0000 (19:25 +0800)
[   81s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/vc-webview-0.0.1/objdir
[   81s] + cd objdir
[   81s] /var/tmp/rpm-tmp.qxwGlz: line 59: cd: objdir: No such file or directory
[   81s] + exit 1
[   81s] error: Bad exit status from /var/tmp/rpm-tmp.qxwGlz (%build)
in spec file, current direction is already is objdir.

Change-Id: I60e61e251df177bbb3a8294ec8065531a7ec6895

packaging/vc-webview.spec

index a0f3373a90b1533695db4db1f6e6b6456260543a..6c173b4f855e0e0bf628c09f22bb9d3ce4437f4e 100755 (executable)
@@ -45,7 +45,7 @@ cd objdir && cmake .. -DVERSION=%{version} \
     -DINCLUDEDIR=%{_includedir} \
     -DTZ_SYS_RO_SHARE=%TZ_SYS_RO_SHARE
 
-cd objdir && make %{?jobs:-j%jobs}
+make %{?jobs:-j%jobs}
 
 %install
 (cd objdir &&
@@ -67,4 +67,4 @@ rm -rf %{buildroot}
 %manifest %{name}-devel.manifest
 %defattr(-,root,root,-)
 %{_includedir}/voice_control_webview.h
-%{_libdir}/pkgconfig/vc-webview.pc
\ No newline at end of file
+%{_libdir}/pkgconfig/vc-webview.pc