From 248b8b42404eae87ea392fc6d71bfde4c38066ea Mon Sep 17 00:00:00 2001 From: David King Date: Fri, 23 Jan 2015 10:25:44 +0000 Subject: [PATCH] Use pkgconfig for BuildRequires https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires --- gnome-calculator.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnome-calculator.spec b/gnome-calculator.spec index 89774ad..6bdd04f 100644 --- a/gnome-calculator.spec +++ b/gnome-calculator.spec @@ -9,15 +9,15 @@ URL: https://wiki.gnome.org/Apps/Calculator #VCS: git:git://git.gnome.org/gcalctool Source0: https://download.gnome.org/sources/%{name}/3.15/%{name}-%{version}.tar.xz -BuildRequires: glib2-devel -BuildRequires: gtk3-devel +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtksourceview-3.0) +BuildRequires: pkgconfig(libxml-2.0) BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool BuildRequires: itstool -BuildRequires: gtksourceview3-devel BuildRequires: mpfr-devel -BuildRequires: libxml2-devel Requires(post): glib2 Requires(postun): glib2 @@ -78,6 +78,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - Update to 3.15.4 - Update URL - Update man page globs in files section +- Use pkgconfig for BuildRequires * Fri Dec 19 2014 Richard Hughes - 3.15.1-1 - Update to 3.15.1