bootstrap support
This commit is contained in:
Rex Dieter 2019-02-15 10:19:42 -06:00
parent c8de96ea99
commit e5af27bede
3 changed files with 26 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/qtxmlpatterns-everywhere-src-5.11.1.tar.xz /qtxmlpatterns-everywhere-src-5.11.1.tar.xz
/qtxmlpatterns-everywhere-src-5.11.2.tar.xz /qtxmlpatterns-everywhere-src-5.11.2.tar.xz
/qtxmlpatterns-everywhere-src-5.11.3.tar.xz /qtxmlpatterns-everywhere-src-5.11.3.tar.xz
/qtxmlpatterns-everywhere-src-5.12.1.tar.xz

View File

@ -1,9 +1,11 @@
%global qt_module qtxmlpatterns %global qt_module qtxmlpatterns
%global bootstrap 1
Summary: Qt5 - QtXmlPatterns component Summary: Qt5 - QtXmlPatterns component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.11.3 Version: 5.12.1
Release: 2%{?dist} Release: 1%{?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
@ -15,6 +17,14 @@ BuildRequires: qt5-qtbase-private-devel
#libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) #libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_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 %description
The Qt XML Patterns module provides support for XPath, XQuery, XSLT, The Qt XML Patterns module provides support for XPath, XQuery, XSLT,
and XML Schema validation. and XML Schema validation.
@ -38,7 +48,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build %build
%{qmake_qt5} %{qmake_qt5} \
%{?no_examples}
%make_build %make_build
@ -80,6 +91,10 @@ popd
%files %files
%license LICENSE.LGPL* %license LICENSE.LGPL*
%{_qt5_libdir}/libQt5XmlPatterns.so.5* %{_qt5_libdir}/libQt5XmlPatterns.so.5*
# consider subpkg to make boostrapping easier? -- rex
%if 0%{?qml}
%{_qt5_archdatadir}/qml/QtQuick/XmlListModel/
%endif
%files devel %files devel
%{_qt5_bindir}/xmlpatterns* %{_qt5_bindir}/xmlpatterns*
@ -91,11 +106,17 @@ popd
%{_qt5_libdir}/pkgconfig/Qt5*.pc %{_qt5_libdir}/pkgconfig/Qt5*.pc
%{_qt5_archdatadir}/mkspecs/modules/*.pri %{_qt5_archdatadir}/mkspecs/modules/*.pri
%if !0%{?no_examples}
%files examples %files examples
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
%endif
%changelog %changelog
* Mon Feb 04 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
- 5.12.1
- bootstrap support
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (qtxmlpatterns-everywhere-src-5.11.3.tar.xz) = a7a8dcd1ef0bae811f3efbbbf6bb5705b3e75c468106cf7532dde86740240cb3f1f55142706abc1ba309dfdab5edf3dcb12923f75e26c8dd43ffee22bfb73cb2 SHA512 (qtxmlpatterns-everywhere-src-5.12.1.tar.xz) = 2a75b6fdbe07317ce91b69e0fc9abe39899b5c48885033f734c0d018115762e7558723ae0fcb5ad5a2266a52471f139236778be8191c61abec9bf0b07a0f01f7