diff --git a/dbus-glib.spec b/dbus-glib.spec index 51f7296..410c62c 100644 --- a/dbus-glib.spec +++ b/dbus-glib.spec @@ -1,9 +1,9 @@ %define gettext_package dbus -%define expat_version 1.95.5 -%define glib2_version 2.2.0 -%define gtk2_version 2.4.0 -%define dbus_version 1.1 +%global expat_version 1.95.5 +%global glib2_version 2.26.0 +%global gtk2_version 2.4.0 +%global dbus_version 1.2.16 Summary: GLib bindings for D-Bus Name: dbus-glib @@ -16,11 +16,9 @@ License: AFL and GPLv2+ Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: chkconfig >= 1.3.26 -BuildRequires: libtool -BuildRequires: dbus-devel >= %{dbus_version} +BuildRequires: pkgconfig(dbus-1) >= %{dbus_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: expat-devel >= %{expat_version} -BuildRequires: libxml2-devel -BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gettext %description @@ -112,6 +110,7 @@ rm -rf %{buildroot} %changelog * Sat Feb 07 2015 David King - 0.102-1 - Update to 0.102 +- Use pkgconfig for BuildRequires * Sat Aug 16 2014 Fedora Release Engineering - 0.100.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild