Accepting request 891891 from KDE:Qt:6.1

- Remove the module name from the docs build targets.
  The modules now have 'docs' and 'install_docs' build targets.

OBS-URL: https://build.opensuse.org/request/show/891891
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/qt6-macros?expand=0&rev=2
This commit is contained in:
Christophe Giboudeaux 2021-05-09 16:18:41 +00:00 committed by Git OBS Bridge
parent 4f439e487c
commit d74581a52a
3 changed files with 10 additions and 4 deletions

View File

@ -230,7 +230,7 @@
%qt6_build_docs \
export QT_QPA_PLUGIN_PATH="%{_qt6_pluginsdir}/platforms" \
export QT_PLUGIN_PATH="%{_qt6_pluginsdir}" \
cmake --build \\%{__qt6_build_options} -t docs_qt%{__qt6_module_name} \
cmake --build \\%{__qt6_build_options} -t docs \
%{nil}
#--------------------------------------------------------------
@ -251,7 +251,7 @@
#--------------------------------------------------------------
%qt6_install_docs \
DESTDIR=%{buildroot} cmake --build \\%{__qt6_build_options} -t install_docs_qt%{__qt6_module_name} \
DESTDIR=%{buildroot} cmake --build \\%{__qt6_build_options} -t install_docs \
# in Qt 6.0.0, %%{_qt6_docdir}/*.qch are folders which contain \
# files with the same name. \
# Starting with 6.0.1, the file is installed in %%{_qt6_docdir} directly. \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 1 10:14:41 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Remove the module name from the docs build targets.
The modules now have 'docs' and 'install_docs' build targets.
-------------------------------------------------------------------
Mon Jan 11 15:06:44 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package qt6-macros
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: qt6-macros
Version: 20210111
Version: 20210301
Release: 0
Summary: RPM macros for Qt6 packages
License: MIT