pkgconfig fixes

This commit is contained in:
Christian Dersch 2017-06-22 11:30:44 +02:00
parent 261772cd42
commit c66bc115d9

View File

@ -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$