[gtkhtml3] Use pkgconfig() notations in BuildRequires where applicable

Milan Crha mcrha at fedoraproject.org
Wed Mar 12 11:03:30 UTC 2014


commit 1813fbf3b27b98071265dcbb697387f8a08a189b
Author: Milan Crha <mcrha at redhat.com>
Date:   Wed Mar 12 12:03:26 2014 +0100

    Use pkgconfig() notations in BuildRequires where applicable

 gtkhtml3.spec |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/gtkhtml3.spec b/gtkhtml3.spec
index dd226d2..f39f40b 100644
--- a/gtkhtml3.spec
+++ b/gtkhtml3.spec
@@ -5,7 +5,7 @@
 
 Name: gtkhtml3
 Version: 4.6.6
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: System Environment/Libraries
 Summary: GtkHTML library
 License: LGPLv2+ and GPLv2
@@ -14,17 +14,20 @@ Source: http://download.gnome.org/sources/gtkhtml/4.6/gtkhtml-%{version}.tar.xz
 
 ### Build Dependencies ###
 
-BuildRequires: enchant-devel
-BuildRequires: gail-devel
 BuildRequires: gettext
 BuildRequires: gnome-common
-BuildRequires: gnome-icon-theme-devel
-BuildRequires: gsettings-desktop-schemas-devel
-BuildRequires: gtk3-devel
 BuildRequires: intltool
-BuildRequires: iso-codes-devel
 BuildRequires: libtool
 
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(enchant)
+BuildRequires: pkgconfig(gail-3.0)
+BuildRequires: pkgconfig(gnome-icon-theme)
+BuildRequires: pkgconfig(gsettings-desktop-schemas)
+BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: pkgconfig(iso-codes)
+
 %description
 GtkHTML is a lightweight HTML rendering/printing/editing engine.
 It was originally based on KHTMLW, but is now being developed
@@ -73,6 +76,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Wed Mar 12 2014 Milan Crha <mcrha at redhat.com> - 4.6.6-3
+- Use pkgconfig() notations in BuildRequires where applicable
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.6.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list