From 41ee532c31ffcecc3523150cc98584a32e969728 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 29 Jan 2014 17:35:53 +0100 Subject: Remove BuildRequire on xorg-macros for Pure Wayland profile. Change-Id: I6029af33ffe180ca4d159844e6da95faacbab286 Signed-off-by: Ronan Le Martret --- packaging/libpciaccess.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec index a1d06d0..9d06fb2 100644 --- a/packaging/libpciaccess.spec +++ b/packaging/libpciaccess.spec @@ -1,3 +1,5 @@ +%bcond_with x + Name: libpciaccess Version: 0.13.1 Release: 1 @@ -12,9 +14,12 @@ BuildRequires: autoconf 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. @@ -34,7 +39,7 @@ cp %{SOURCE1001} . %build %configure --disable-static \ - --with-pciids-path=%{_datadir}/misc --with-zlib + --with-pciids-path=%{_datadir}/misc --with-zlib make %{?_smp_mflags} %install -- cgit v1.2.3