diff --git a/qt5-qtwebchannel.spec b/qt5-qtwebchannel.spec index ab53fc4..5afe787 100644 --- a/qt5-qtwebchannel.spec +++ b/qt5-qtwebchannel.spec @@ -11,16 +11,18 @@ Release: 1%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://doc.qt.io/qt-5/licensing.html License: LGPLv2 with exceptions or GPLv3 with exceptions -Url: http://qt-project.org/ +Url: http://qt.io %if 0%{?pre:1} -Source0: http://download.qt-project.org/development_releases/qt/5.4/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz +Source0: http://download.qt.io/development_releases/qt/5.4/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz %else -Source0: http://download.qt-project.org/official_releases/qt/5.4/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz +Source0: http://download.qt.io/official_releases/qt/5.4/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz %endif BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Quick) + +# Qt5WebSockets package is optional and only needed for examples BuildRequires: pkgconfig(Qt5WebSockets) %{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}} @@ -69,7 +71,7 @@ make %{?_smp_mflags} %if 0%{?docs} # HACK to avoid multilib conflicts in noarch content -# see also https://bugreports.qt-project.org/browse/QTBUG-42071 +# see also https://bugreports.qt.io/browse/QTBUG-42071 QT_HASH_SEED=0; export QT_HASH_SEED make %{?_smp_mflags} docs %endif