Merge branch 'devel/x11' into tizen
[platform/upstream/fontsproto.git] / packaging / fontsproto.spec
index 67d6e63..0f24339 100644 (file)
@@ -1,5 +1,7 @@
+%bcond_with x
+
 Name:           fontsproto
-Version:        2.1.2
+Version:        2.1.3
 Release:        1
 License:        MIT
 Summary:        X
@@ -11,10 +13,6 @@ Source1001:  fontsproto.manifest
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(xorg-macros)
 
-%if !%{with x}
-ExclusiveArch:
-%endif
-
 %description
 %{summary}.
 
@@ -23,7 +21,7 @@ ExclusiveArch:
 cp %{SOURCE1001} .
 
 %build
-%configure --disable-static \
+%autogen --disable-static \
              --libdir=%{_datadir} \
              --without-xmlto