From 83f3be218ad5c32da1c6c51885a3609a6899f56d Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Tue, 5 Apr 2016 10:58:44 +0900 Subject: [PATCH] Add BuildRequires to the libdbuspolicy package Change-Id: I2ff0b52b12b8ade8dcdf85427d23d2be2f26c027 Signed-off-by: Hyotaek Shim --- packaging/glib2.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/glib2.spec b/packaging/glib2.spec index 40cd104..d65b27f 100644 --- a/packaging/glib2.spec +++ b/packaging/glib2.spec @@ -39,9 +39,9 @@ BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(zlib) # Enable support for libdbuspolicy (only for kdbus transport) -#%if %{with dbuspolicy} -#BuildRequires: pkgconfig(libdbuspolicy1) -#%endif +%if %{with dbuspolicy} +BuildRequires: pkgconfig(libdbuspolicy1) +%endif %description GLib is a general-purpose utility library, which provides many useful @@ -191,10 +191,10 @@ NOCONFIGURE=1 ./autogen.sh %if 0%{?with_systemtap} --enable-systemtap \ %endif +%if %{with dbuspolicy} + --enable-libdbuspolicy \ +%endif --with-pcre=system -#%if %{with dbuspolicy} -# --enable-libdbuspolicy \ -#%endif %{__make} %{?_smp_mflags} V=1 -- 2.7.4