Use pkgconfig for BuildRequires

https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
This commit is contained in:
David King 2017-07-13 08:00:26 +01:00
parent e446fd343f
commit d70bb4f3e0

View File

@ -4,7 +4,7 @@
Name: libproxy
Version: 0.4.15
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A library handling all the details of proxy configuration
Group: System Environment/Libraries
@ -23,7 +23,7 @@ BuildRequires: cmake >= 2.6.0
# gnome
BuildRequires: pkgconfig(gio-2.0) >= 2.26
# mozjs
BuildRequires: mozjs38-devel
BuildRequires: pkgconfig(mozjs-38)
# NetworkManager
BuildRequires: pkgconfig(libnm)
# pacrunner (and NetworkManager)
@ -240,6 +240,9 @@ make test
%changelog
* Thu Jul 13 2017 David King <amigadave@amigadave.com> - 0.4.15-2
- Use pkgconfig for BuildRequires
* Tue May 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.15-1
- Update to 0.4.15