packaging: exclude if X11 unsupported sandbox/pcoval/e_wayland sandbox/pcoval/tizen
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 28 Jan 2014 16:40:43 +0000 (17:40 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 28 Jan 2014 17:14:56 +0000 (18:14 +0100)
Change-Id: Ia6c39e440c983f24c027be63486e639f6d7f2c7b
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Conflicts:
packaging/enlightenment.spec

packaging/enlightenment.spec

index 9c0a5ffe2278318f7d2a9acdf2d395892b8132a3..9bd6beb7967b289656f83d349bd6810e0708e475 100644 (file)
@@ -30,6 +30,8 @@ BuildRequires:  pkgconfig(ecore-ipc)
 %if %{with x}
 BuildRequires:  pkgconfig(ecore-x)
 BuildRequires:  pkgconfig(x11)
+%else
+ExclusiveArch: 
 %endif
 
 BuildRequires:  pkgconfig(edbus)
@@ -53,6 +55,11 @@ BuildRequires:  embryo-devel
 # ephysics
 
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
+
 %description
 Enlightenment is a window manager.
 
@@ -102,7 +109,7 @@ make %{?_smp_mflags} -j1
 %{_datadir}/xsessions/enlightenment.desktop
 %{_sysconfdir}/xdg/menus/enlightenment.menu
 %{_datadir}/applications/enlightenment_filemanager.desktop
-%{_libdir}/systemd/user/e18.service
+/usr/lib/systemd/user/e18.service
 
 %files devel
 %manifest %{name}.manifest