update source URL, BR: cmake, use %license

This commit is contained in:
Rex Dieter 2015-12-28 23:29:23 -06:00
parent 5ceed3c946
commit b3d0832d0c

View File

@ -17,12 +17,17 @@
Summary: Qt5 - QtXmlPatterns component Summary: Qt5 - QtXmlPatterns component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.6.0 Version: 5.6.0
Release: 0.6%{?dist} Release: 0.7.%{prerelease}%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io 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} BuildRequires: qt5-qtbase-devel >= %{version}
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
@ -112,7 +117,7 @@ popd
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc LICENSE.LGPL* LGPL_EXCEPTION.txt %license LICENSE.LGPL* LGPL_EXCEPTION.txt
%{_qt5_libdir}/libQt5XmlPatterns.so.5* %{_qt5_libdir}/libQt5XmlPatterns.so.5*
%files devel %files devel
@ -127,7 +132,7 @@ popd
%if 0%{?docs} %if 0%{?docs}
%files doc %files doc
%doc LICENSE.FDL %license LICENSE.FDL
%{_qt5_docdir}/qtxmlpatterns.qch %{_qt5_docdir}/qtxmlpatterns.qch
%{_qt5_docdir}/qtxmlpatterns/ %{_qt5_docdir}/qtxmlpatterns/
%endif %endif
@ -139,7 +144,10 @@ popd
%changelog %changelog
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5.1 * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.beta
- update source URL, BR: cmake, use %%license
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
- Update to final beta release - Update to final beta release
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5 * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5