From c66bc115d9cc594e802cfa04643085d4ce7c8ed4 Mon Sep 17 00:00:00 2001 From: Christian Dersch Date: Thu, 22 Jun 2017 11:30:44 +0200 Subject: [PATCH] pkgconfig fixes --- qt5-qtwebkit.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 2606af3..f921123 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -40,7 +40,7 @@ BuildRequires: libXrender-devel BuildRequires: libxslt-devel BuildRequires: mesa-libGL-devel BuildRequires: perl-generators -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: python2 BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel @@ -60,6 +60,10 @@ BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qtdeclarative-private-devel %{?_qt5:Requires: qt5-qtdeclarative%{?_isa} = %{_qt5_version}} +# Why does this not work automatically? +Provides: pkgconfig(Qt5WebKit) = %{version}-%{release} +Provides: pkgconfig(Qt5WebKitWidgets) = %{version}-%{release} + # filter qml provides %global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$