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)