From cdab321703af07f50e4cbe7e69421ac7ba0c43ef Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 8 Feb 2022 13:41:44 +0000 Subject: [PATCH] Use pkgconfig for BuildRequires --- gjs.spec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gjs.spec b/gjs.spec index 78bcdb2..a8fc3a0 100644 --- a/gjs.spec +++ b/gjs.spec @@ -15,21 +15,20 @@ License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+) URL: https://wiki.gnome.org/Projects/Gjs Source0: https://download.gnome.org/sources/%{name}/1.70/%{name}-%{version}.tar.xz -BuildRequires: cairo-gobject-devel -BuildRequires: dbus-daemon -BuildRequires: dbus-glib-devel BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: gettext -BuildRequires: glib2-devel >= %{glib2_version} -BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version} -BuildRequires: gtk3-devel -BuildRequires: gtk4-devel -BuildRequires: mozjs78-devel >= %{mozjs78_version} -BuildRequires: pkgconfig BuildRequires: readline-devel -BuildRequires: sysprof-capture-devel - +BuildRequires: pkgconfig(cairo-gobject) +BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gobject_introspection_version} +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(mozjs-78) >= %{mozjs78_version} +BuildRequires: pkgconfig(sysprof-capture-4) +# For GTK+ 3 tests +BuildRequires: gtk3-devel +# For dbus tests +BuildRequires: /usr/bin/dbus-run-session # xvfb for test suite BuildRequires: xorg-x11-server-Xvfb @@ -95,6 +94,7 @@ the functionality of the installed gjs package. %changelog * Tue Feb 08 2022 David King - 1.70.1-1 - Update to 1.70.1 +- Use pkgconfig for BuildRequires * Thu Jan 20 2022 Fedora Release Engineering - 1.70.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild