From 212772fc5257472c4278fe7908eac3ea5f1253f1e1a572cb7b05481b621327f8 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 16 Dec 2020 11:27:47 +0000 Subject: [PATCH] Use a different name for the docs flavor OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:6.0/qt6-networkauth?expand=0&rev=4 --- qt6-networkauth.changes | 5 +++++ qt6-networkauth.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/qt6-networkauth.changes b/qt6-networkauth.changes index 084f697..a7eea30 100644 --- a/qt6-networkauth.changes +++ b/qt6-networkauth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 16 11:26:08 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + ------------------------------------------------------------------- Tue Dec 8 15:11:54 UTC 2020 - Christophe Giboudeaux diff --git a/qt6-networkauth.spec b/qt6-networkauth.spec index 1d0e033..096b010 100644 --- a/qt6-networkauth.spec +++ b/qt6-networkauth.spec @@ -23,15 +23,18 @@ %define tar_suffix %{nil} # %global qt6_flavor @BUILD_FLAVOR@%{nil} +%if "%{qt6_flavor}" == "docs" +%define pkg_suffix -docs +%endif # -Name: qt6-networkauth +Name: qt6-networkauth%{?pkg_suffix} Version: 6.0.0 Release: 0 Summary: Qt 6 NetworkAuth library License: GPL-3.0-only WITH Qt-GPL-exception-1.0 URL: https://www.qt.io Source: https://download.qt.io/official_releases/additional_libraries/%{short_name}/%{short_version}/%{real_version}%{tar_suffix}/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz -Source99: %{name}-rpmlintrc +Source99: qt6-networkauth-rpmlintrc BuildRequires: qt6-core-private-devel BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Network)