Remove BuildRequire on xorg-macros for Pure Wayland profile. 11/15911/1 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release devel/x11 tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_release accepted/tizen/generic/20140207.163744 accepted/tizen/generic/20140312.115021 accepted/tizen/ivi/20140208.012510 accepted/tizen/ivi/panda/20140312.114243 accepted/tizen/ivi/release/20140312.122826 accepted/tizen/mobile/20140227.070509 submit/devel/x11/20140718.035926 submit/tizen/20140207.163857 submit/tizen/20140312.070839 submit/tizen_ivi_release/20140312.071314 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
authorRonan Le Martret <ronan@fridu.net>
Wed, 29 Jan 2014 16:35:53 +0000 (17:35 +0100)
committerRonan Le Martret <ronan@fridu.net>
Wed, 29 Jan 2014 16:35:53 +0000 (17:35 +0100)
Change-Id: I6029af33ffe180ca4d159844e6da95faacbab286
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/libpciaccess.spec

index a1d06d0..9d06fb2 100644 (file)
@@ -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