packaging: exclude if X11 unsupported
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>
Fri, 18 Apr 2014 08:36:22 +0000 (10:36 +0200)
Change-Id: Ia6c39e440c983f24c027be63486e639f6d7f2c7b
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Conflicts:
packaging/enlightenment.spec

packaging/enlightenment.spec

index d826eb06071638effe20186accf2839fed36f54b..f2094adbc2ecc0b5f4d9ae0a6250bee78829ede9 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