diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2015-09-18 12:36:31 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2015-09-18 12:57:26 +0200 |
commit | 2f94c5b3021f1d9c28d077a97974ceee580a730e (patch) | |
tree | 6b4fbe872edf230b66ee947c17dd9af20e598117 | |
parent | cde70bb3199ad340b7b16f5d0ad0c5293f09376e (diff) | |
download | app-core-2f94c5b3021f1d9c28d077a97974ceee580a730e.tar.gz app-core-2f94c5b3021f1d9c28d077a97974ceee580a730e.tar.bz2 app-core-2f94c5b3021f1d9c28d077a97974ceee580a730e.zip |
Fix syntax in app-core.spectizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasesubmit/tizen_common/20151019.135620submit/tizen_common/20151015.190624submit/tizen/20150921.090834accepted/tizen/wearable/20150922.000853accepted/tizen/tv/20150922.000838accepted/tizen/mobile/20150922.000819
"%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 <a.mistewicz@samsung.com>
-rw-r--r-- | packaging/app-core.spec | 8 |
1 files changed, 3 insertions, 5 deletions
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 |