Use pkgconfig for BuildRequires

https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
This commit is contained in:
David King 2015-03-06 09:04:26 +00:00
parent 5597135992
commit 75c5c01d7e

View File

@ -1,9 +1,9 @@
%define glib2_version 2.36
%define gobject_introspection_version 1.30.0
%define polkit_version 0.102
%define systemd_version 209
%define libatasmart_version 0.17
%define dbus_version 1.4.0
%global glib2_version 2.36
%global gobject_introspection_version 1.30.0
%global polkit_version 0.102
%global systemd_version 209
%global libatasmart_version 0.17
%global dbus_version 1.4.0
Summary: Disk Manager
Name: udisks2
@ -14,16 +14,16 @@ Group: System Environment/Libraries
URL: http://www.freedesktop.org/wiki/Software/udisks
Source0: http://udisks.freedesktop.org/releases/udisks-%{version}.tar.bz2
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
BuildRequires: polkit-devel >= %{polkit_version}
BuildRequires: intltool
BuildRequires: libatasmart-devel >= %{libatasmart_version}
BuildRequires: libgudev1-devel >= %{systemd_version}
BuildRequires: gtk-doc
BuildRequires: systemd-devel
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gobject_introspection_version}
BuildRequires: pkgconfig(gudev-1.0) >= %{systemd_version}
BuildRequires: pkgconfig(libatasmart) >= %{libatasmart_version}
BuildRequires: pkgconfig(libsystemd) >= %{systemd_version}
BuildRequires: pkgconfig(polkit-gobject-1) >= %{polkit_version}
BuildRequires: libacl-devel
BuildRequires: chrpath
BuildRequires: gtk-doc
BuildRequires: intltool
# needed to pull in the system bus daemon
Requires: dbus >= %{dbus_version}
@ -169,6 +169,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_prefix}/lib/udisks2/udisksd
- Update to 2.1.5
- Use license macro for COPYING
- Update man page globs in file section
- Use pkgconfig for BuildRequires
* Fri Jan 30 2015 Tomas Bzatek <tbzatek@redhat.com> - 2.1.4-1%{?dist}
- Update to 2.1.4