From: Aleksander Mistewicz Date: Fri, 18 Sep 2015 10:36:31 +0000 (+0200) Subject: Fix syntax in app-core.spec X-Git-Tag: accepted/tizen/mobile/20150922.000819^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F48367%2F1;p=platform%2Fcore%2Fappfw%2Fapp-core.git Fix syntax in app-core.spec "%else if" is not known by rpm's spec parser. In rpm's code when it recognizes "%else" it nullifies the string right after. Everything after "%else" is nonexistent. Proper syntax is: %if () %else %if () %endif %endif Thanks to Oskar Switalski for finding this bug. Change-Id: I83e35f70592a68c7483ff67e50789601f35868ca Signed-off-by: Aleksander Mistewicz --- diff --git a/packaging/app-core.spec b/packaging/app-core.spec index c699d5f..7ad06d5 100644 --- a/packaging/app-core.spec +++ b/packaging/app-core.spec @@ -12,9 +12,11 @@ Source0: app-core-%{version}.tar.gz BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(ecore-x) BuildRequires: pkgconfig(eina) -%else if %{with wayland} +%else +%if %{with wayland} BuildRequires: pkgconfig(ecore-wayland) %endif +%endif Source1001: app-core.manifest BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(sensor) @@ -123,26 +125,22 @@ rm -rf %{buildroot} %files efl %manifest %{name}.manifest -%defattr(-,root,root,-) %{_libdir}/libappcore-efl.so.* %license LICENSE %files efl-devel %manifest %{name}.manifest -%defattr(-,root,root,-) %{_includedir}/appcore/appcore-efl.h %{_libdir}/libappcore-efl.so %{_libdir}/pkgconfig/appcore-efl.pc %files common %manifest %{name}.manifest -%defattr(-,root,root,-) %{_libdir}/libappcore-common.so.* %license LICENSE %files common-devel %manifest %{name}.manifest -%defattr(-,root,root,-) %{_libdir}/libappcore-common.so %{_libdir}/pkgconfig/appcore-common.pc %{_includedir}/appcore/appcore-common.h