From 975c59bc402487bc8fa0bdd54c3cb3ec6de039af Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 28 Dec 2015 23:27:21 -0600 Subject: [PATCH] BR: cmake, update source URL, use %license --- qt5-qtx11extras.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/qt5-qtx11extras.spec b/qt5-qtx11extras.spec index 6f6f511..c1d31c1 100644 --- a/qt5-qtx11extras.spec +++ b/qt5-qtx11extras.spec @@ -2,18 +2,22 @@ %global qt_module qtx11extras %define prerelease beta -%define prerelease beta1 Summary: Qt5 - X11 support library Name: qt5-%{qt_module} Version: 5.6.0 -Release: 0.3%{?dist} +Release: 0.4.%{prerelease}%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://www.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} %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} @@ -62,7 +66,7 @@ popd %postun -p /sbin/ldconfig %files -%doc LGPL_EXCEPTION.txt LICENSE.LGPL* +%license LGPL_EXCEPTION.txt LICENSE.LGPL* %{_qt5_libdir}/libQt5X11Extras.so.5* %files devel @@ -76,6 +80,9 @@ popd %changelog +* Mon Dec 28 2015 Rex Dieter 5.6.0-0.4.beta +- BR: cmake, update source URL, use %%license + * Mon Dec 21 2015 Helio Chissini de Castro - 5.6.0-0.3 - Update to final beta release