diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-01-29 17:35:53 +0100 |
---|---|---|
committer | Nicolas Guyomard <nicolas.guyomard@open.eurogiciel.org> | 2014-11-07 16:51:34 +0100 |
commit | 41ee532c31ffcecc3523150cc98584a32e969728 (patch) | |
tree | da4f5c5d0797379fded3275b7fa26728d540e064 | |
parent | c180b58b4b2017cecf680a36a085164a4ebca944 (diff) | |
download | libpciaccess-41ee532c31ffcecc3523150cc98584a32e969728.tar.gz libpciaccess-41ee532c31ffcecc3523150cc98584a32e969728.tar.bz2 libpciaccess-41ee532c31ffcecc3523150cc98584a32e969728.zip |
Remove BuildRequire on xorg-macros for Pure Wayland profile.
Change-Id: I6029af33ffe180ca4d159844e6da95faacbab286
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r-- | packaging/libpciaccess.spec | 9 |
1 files 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 |