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