Change-Id: I6029af33ffe180ca4d159844e6da95faacbab286
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
+%bcond_with x
+
Name: libpciaccess
Version: 0.13.1
Release: 1
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: pkgconfig(xorg-macros)
BuildRequires: pkgconfig(zlib)
+%if %{with x}
+BuildRequires: pkgconfig(xorg-macros)
+%endif
+
%description
libpciaccess is a library for portable PCI access routines across multiple
operating systems.
%build
%configure --disable-static \
- --with-pciids-path=%{_datadir}/misc --with-zlib
+ --with-pciids-path=%{_datadir}/misc --with-zlib
make %{?_smp_mflags}
%install