Christophe Giboudeaux 2022-04-19 12:13:07 +00:00 committed by Git OBS Bridge
parent 21253e2a28
commit 0601995261
3 changed files with 12 additions and 2 deletions

View File

@ -168,6 +168,7 @@
# Variables only used for packaging
%_qt6_cmakedir %{_qt6_libdir}/cmake
%_qt6_metatypesdir %{_qt6_libdir}/metatypes
%_qt6_pkgconfigdir %{_qt6_libdir}/pkgconfig
#--------------------------------------------------------------
@ -182,6 +183,7 @@
%cmake_qt6 \
cmake -DCMAKE_BUILD_TYPE:STRING=%{__qt6_build_type} \\\
-DCMAKE_INSTALL_PREFIX:STRING=%{_qt6_prefix} \\\
-DCMAKE_MESSAGE_LOG_LEVEL:STRING=STATUS \\\
-S %__qt6_sourcedir \\\
-B %__qt6_builddir \\\
%if "%__qt6_build_tool" == "%__ninja" \

View File

@ -1,4 +1,12 @@
-------------------------------------------------------------------
Tue Mar 29 16:42:39 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Set CMAKE_MESSAGE_LOG_LEVEL in %cmake_qt6.
The Qt 6.3 build system sets it to 'NOTICE' for non-developers
builds, which doesn't permit finding missing build dependencies.
- Define %_qt6_pkgconfigdir. Qt 6.4 will install pkgconfig files.
------------------------------------------------------------------
Mon Feb 7 13:47:05 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Ensure PIE flags are passed to the linker on Leap to work around

View File

@ -1,7 +1,7 @@
#
# spec file for package qt6-macros
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 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: 20220207
Version: 20220329
Release: 0
Summary: RPM macros for Qt6 packages
License: MIT