Use a different name for the docs flavor

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:6.0/qt6-tools?expand=0&rev=4
This commit is contained in:
Christophe Marin 2020-12-16 11:28:10 +00:00 committed by Git OBS Bridge
parent 5e8a4eebb1
commit fd9d7c39a2
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 16 11:26:13 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Use a different 'Name' when building the docs flavor.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 8 14:09:34 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr> Tue Dec 8 14:09:34 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -22,8 +22,11 @@
%define tar_suffix %{nil} %define tar_suffix %{nil}
# #
%global qt6_flavor @BUILD_FLAVOR@%{nil} %global qt6_flavor @BUILD_FLAVOR@%{nil}
%if "%{qt6_flavor}" == "docs"
%define pkg_suffix -docs
%endif
# #
Name: qt6-tools Name: qt6-tools%{?pkg_suffix}
Version: 6.0.0 Version: 6.0.0
Release: 0 Release: 0
Summary: Qt 6 Tools libraries and tools Summary: Qt 6 Tools libraries and tools
@ -41,7 +44,7 @@ Source10: org.qt.designer6.desktop
Source11: org.qt.linguist6.desktop Source11: org.qt.linguist6.desktop
Source12: org.qt.qdbusviewer6.desktop Source12: org.qt.qdbusviewer6.desktop
Source13: org.qt.assistant6.desktop Source13: org.qt.assistant6.desktop
Source99: %{name}-rpmlintrc Source99: qt6-tools-rpmlintrc
BuildRequires: clang-devel BuildRequires: clang-devel
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: qt6-core-private-devel BuildRequires: qt6-core-private-devel