From 21ff8177c08cb1775671dc02f9353bef91876687 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 28 Dec 2015 23:18:56 -0600 Subject: [PATCH] update source URL, use %license, BR: cmake --- qt5-qtwebchannel.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/qt5-qtwebchannel.spec b/qt5-qtwebchannel.spec index 732793e..731f03a 100644 --- a/qt5-qtwebchannel.spec +++ b/qt5-qtwebchannel.spec @@ -7,17 +7,22 @@ Summary: Qt5 - WebChannel component Name: qt5-%{qt_module} Version: 5.6.0 -Release: 0.4%{?dist} +Release: 0.5.%{prerelease}%{?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.io -Source0: http://download.qt.io/official_releases/qt/5.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.gz +%if 0%{?prerelease:1} +Source0: http://download.qt.io/development_releases/qt/5.6/%{version}-%{prerelease}/submodules/%{qt_module}-opensource-src-%{version}-%{prerelease}.tar.gz +%else +Source0: http://download.qt.io/official_releases/qt/5.6/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.gz +%endif + +BuildRequires: cmake BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Quick) -BuildRequires: qt5-qdoc # Qt5WebSockets package is optional and only needed for some examples BuildRequires: pkgconfig(Qt5WebSockets) @@ -98,7 +103,7 @@ popd %postun -p /sbin/ldconfig %files -%doc LICENSE.GPL* LICENSE.LGPL* +%license LICENSE.GPL* LICENSE.LGPL* %{_qt5_libdir}/libQt5WebChannel.so.5* %{_qt5_archdatadir}/qml/QtWebChannel/ @@ -113,6 +118,7 @@ popd %if 0%{?docs} %files doc +%license LICENSE.FDL %{_qt5_docdir}/%{qt_module}.qch %{_qt5_docdir}/%{qt_module}/ %endif @@ -124,6 +130,9 @@ popd %changelog +* Mon Dec 28 2015 Rex Dieter 5.6.0-0.5.beta +- update source URL, use %%license, BR: cmake + * Mon Dec 21 2015 Helio Chissini de Castro - 5.6.0-0.4 - Update to final beta release