Use pkgconfig for BuildRequires

https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
This commit is contained in:
David King 2016-02-15 09:36:19 +00:00
parent cd32146736
commit 66482ecfc5

View File

@ -9,11 +9,11 @@ License: LGPLv2+
URL: http://www.gnome.org/
Source0: http://download.gnome.org/sources/%{name}/3.19/%{name}-%{version}.tar.xz
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: intltool
BuildRequires: json-glib-devel >= %{json_glib_version}
BuildRequires: libsoup-devel
Requires: json-glib%{?_isa} >= %{json_glib_version}
@ -71,6 +71,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%changelog
* Mon Feb 15 2016 David King <amigadave@amigadave.com> - 3.19.90-1
- Update to 3.19.90
- Use pkgconfig for BuildRequires
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild