From fd9d7c39a2daaf29aca02dd7d12d5908e2a96f2066b599d513b4394f522ce219 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 16 Dec 2020 11:28:10 +0000 Subject: [PATCH] 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 --- qt6-tools.changes | 5 +++++ qt6-tools.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/qt6-tools.changes b/qt6-tools.changes index 9e3afd5..9bb5075 100644 --- a/qt6-tools.changes +++ b/qt6-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 16 11:26:13 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + ------------------------------------------------------------------- Tue Dec 8 14:09:34 UTC 2020 - Christophe Giboudeaux diff --git a/qt6-tools.spec b/qt6-tools.spec index 1c22521..474c397 100644 --- a/qt6-tools.spec +++ b/qt6-tools.spec @@ -22,8 +22,11 @@ %define tar_suffix %{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 Release: 0 Summary: Qt 6 Tools libraries and tools @@ -41,7 +44,7 @@ Source10: org.qt.designer6.desktop Source11: org.qt.linguist6.desktop Source12: org.qt.qdbusviewer6.desktop Source13: org.qt.assistant6.desktop -Source99: %{name}-rpmlintrc +Source99: qt6-tools-rpmlintrc BuildRequires: clang-devel BuildRequires: hicolor-icon-theme BuildRequires: qt6-core-private-devel