not build without x devel/x11 submit/devel/x11/20140719.032600
authorBoram Park <boram1288.park@samsung.com>
Sat, 19 Jul 2014 03:22:27 +0000 (12:22 +0900)
committerBoram Park <boram1288.park@samsung.com>
Sat, 19 Jul 2014 03:22:27 +0000 (12:22 +0900)
Change-Id: Iff67464e42215b9ce59a9b988c37c3117f80b401

packaging/bdftopcf.spec

index 851a6d4..bd27e61 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           bdftopcf
 Version:        1.0.4
 Release:        0
@@ -11,6 +13,10 @@ BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(xfont)
 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 bdftopcf is a font compiler for the X server and font server. Fonts
 in Portable Compiled Format can be read by any architecture, although