diff --git a/.gitignore b/.gitignore index 048389c..acddef4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /qtxmlpatterns-everywhere-src-5.11.1.tar.xz /qtxmlpatterns-everywhere-src-5.11.2.tar.xz /qtxmlpatterns-everywhere-src-5.11.3.tar.xz +/qtxmlpatterns-everywhere-src-5.12.1.tar.xz diff --git a/qt5-qtxmlpatterns.spec b/qt5-qtxmlpatterns.spec index 6412c9d..2e91001 100644 --- a/qt5-qtxmlpatterns.spec +++ b/qt5-qtxmlpatterns.spec @@ -1,9 +1,11 @@ %global qt_module qtxmlpatterns +%global bootstrap 1 + Summary: Qt5 - QtXmlPatterns component Name: qt5-%{qt_module} -Version: 5.11.3 -Release: 2%{?dist} +Version: 5.12.1 +Release: 1%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://www.qt.io @@ -15,6 +17,14 @@ BuildRequires: qt5-qtbase-private-devel #libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} +%if 0%{?bootstrap} +Obsoletes: %{name}-examples < %{version}-%{release} +%else +BuildRequires: qt5-qtdeclarative-devel +%global qml 1 +%global no_examples CONFIG-=compile_examples +%endif + %description The Qt XML Patterns module provides support for XPath, XQuery, XSLT, and XML Schema validation. @@ -38,7 +48,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %build -%{qmake_qt5} +%{qmake_qt5} \ + %{?no_examples} %make_build @@ -80,6 +91,10 @@ popd %files %license LICENSE.LGPL* %{_qt5_libdir}/libQt5XmlPatterns.so.5* +# consider subpkg to make boostrapping easier? -- rex +%if 0%{?qml} +%{_qt5_archdatadir}/qml/QtQuick/XmlListModel/ +%endif %files devel %{_qt5_bindir}/xmlpatterns* @@ -91,11 +106,17 @@ popd %{_qt5_libdir}/pkgconfig/Qt5*.pc %{_qt5_archdatadir}/mkspecs/modules/*.pri +%if !0%{?no_examples} %files examples %{_qt5_examplesdir}/ +%endif %changelog +* Mon Feb 04 2019 Rex Dieter - 5.12.1-1 +- 5.12.1 +- bootstrap support + * Sat Feb 02 2019 Fedora Release Engineering - 5.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 1f116a1..c5fd2fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qtxmlpatterns-everywhere-src-5.11.3.tar.xz) = a7a8dcd1ef0bae811f3efbbbf6bb5705b3e75c468106cf7532dde86740240cb3f1f55142706abc1ba309dfdab5edf3dcb12923f75e26c8dd43ffee22bfb73cb2 +SHA512 (qtxmlpatterns-everywhere-src-5.12.1.tar.xz) = 2a75b6fdbe07317ce91b69e0fc9abe39899b5c48885033f734c0d018115762e7558723ae0fcb5ad5a2266a52471f139236778be8191c61abec9bf0b07a0f01f7