Enabled QtWebEngine for Fedora >= 24
This commit is contained in:
parent
3c080fca1f
commit
2788e4dc7b
@ -13,7 +13,7 @@
|
|||||||
Summary: PyQt5 is Python bindings for Qt5
|
Summary: PyQt5 is Python bindings for Qt5
|
||||||
Name: python-qt5
|
Name: python-qt5
|
||||||
Version: 5.5.1
|
Version: 5.5.1
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
|
|
||||||
# all BSD, except for GPLv2+ dbus bindings and examples
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
@ -56,6 +56,10 @@ BuildRequires: pkgconfig(Qt5Sql) pkgconfig(Qt5Svg) pkgconfig(Qt5Test)
|
|||||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||||
BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
|
BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
|
||||||
BuildRequires: pkgconfig(Qt5WebChannel)
|
BuildRequires: pkgconfig(Qt5WebChannel)
|
||||||
|
%if 0%{?fedora} > 23
|
||||||
|
%global webengine 1
|
||||||
|
BuildRequires: pkgconfig(Qt5WebEngine)
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(Qt5WebKit) pkgconfig(Qt5WebKitWidgets)
|
BuildRequires: pkgconfig(Qt5WebKit) pkgconfig(Qt5WebKitWidgets)
|
||||||
BuildRequires: pkgconfig(Qt5WebSockets)
|
BuildRequires: pkgconfig(Qt5WebSockets)
|
||||||
BuildRequires: python2-devel python2
|
BuildRequires: python2-devel python2
|
||||||
@ -245,6 +249,9 @@ sed -i \
|
|||||||
%{python2_sitearch}/PyQt5/QtSvg.so
|
%{python2_sitearch}/PyQt5/QtSvg.so
|
||||||
%{python2_sitearch}/PyQt5/QtTest.so
|
%{python2_sitearch}/PyQt5/QtTest.so
|
||||||
%{python2_sitearch}/PyQt5/QtWebChannel.so
|
%{python2_sitearch}/PyQt5/QtWebChannel.so
|
||||||
|
%if 0%{?webengine}
|
||||||
|
%{python2_sitearch}/PyQt5/QtWebEngineWidgets.so
|
||||||
|
%endif
|
||||||
%{python2_sitearch}/PyQt5/QtWebKit.so
|
%{python2_sitearch}/PyQt5/QtWebKit.so
|
||||||
%{python2_sitearch}/PyQt5/QtWebKitWidgets.so
|
%{python2_sitearch}/PyQt5/QtWebKitWidgets.so
|
||||||
%{python2_sitearch}/PyQt5/QtWebSockets.so
|
%{python2_sitearch}/PyQt5/QtWebSockets.so
|
||||||
@ -299,6 +306,9 @@ sed -i \
|
|||||||
%{python3_sitearch}/PyQt5/QtSvg.so
|
%{python3_sitearch}/PyQt5/QtSvg.so
|
||||||
%{python3_sitearch}/PyQt5/QtTest.so
|
%{python3_sitearch}/PyQt5/QtTest.so
|
||||||
%{python3_sitearch}/PyQt5/QtWebChannel.so
|
%{python3_sitearch}/PyQt5/QtWebChannel.so
|
||||||
|
%if 0%{?webengine}
|
||||||
|
%{python3_sitearch}/PyQt5/QtWebEngineWidgets.so
|
||||||
|
%endif
|
||||||
%{python3_sitearch}/PyQt5/QtWebKit.so
|
%{python3_sitearch}/PyQt5/QtWebKit.so
|
||||||
%{python3_sitearch}/PyQt5/QtWebKitWidgets.so
|
%{python3_sitearch}/PyQt5/QtWebKitWidgets.so
|
||||||
%{python3_sitearch}/PyQt5/QtWebSockets.so
|
%{python3_sitearch}/PyQt5/QtWebSockets.so
|
||||||
@ -329,6 +339,9 @@ sed -i \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 27 2016 Christian Dersch <lupinix@mailbox.org> - 5.5.1-9
|
||||||
|
- Enabled QtWebEngine for Fedora >= 24
|
||||||
|
|
||||||
* Sat Feb 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-8
|
* Sat Feb 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-8
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user