summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2015-09-18 12:36:31 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2015-09-18 12:57:26 +0200
commit2f94c5b3021f1d9c28d077a97974ceee580a730e (patch)
tree6b4fbe872edf230b66ee947c17dd9af20e598117
parentcde70bb3199ad340b7b16f5d0ad0c5293f09376e (diff)
downloadapp-core-2f94c5b3021f1d9c28d077a97974ceee580a730e.tar.gz
app-core-2f94c5b3021f1d9c28d077a97974ceee580a730e.tar.bz2
app-core-2f94c5b3021f1d9c28d077a97974ceee580a730e.zip
"%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.spec8
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