1 Commits

Author SHA256 Message Date
95dcea95e5 Use Qt6's qhelpgenerator instead of Qt5's
Use Qt6's qhelpgenerator instead of Qt5's and fix its usage since
Qt5 was being BuildRequired but qch docs weren't being generated.

This is a migration of https://build.suse.de/request/show/385062
2025-10-01 12:12:30 +02:00
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 29 12:09:50 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Use Qt6's qhelpgenerator instead of Qt5's and fix its usage since
Qt5 was being BuildRequired but qch docs weren't being generated.
-------------------------------------------------------------------
Wed May 29 08:49:36 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package uriparser
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -39,8 +39,8 @@ BuildRequires: gcc-c++
BuildRequires: ghostscript-fonts-std
BuildRequires: graphviz
BuildRequires: graphviz-gd
BuildRequires: libqt5-qttools
BuildRequires: pkg-config
BuildRequires: qt6-tools
BuildRequires: xz
BuildRequires: pkgconfig(libxdot)
%if %{with googletest}
@@ -109,7 +109,8 @@ This subpackage contains the documentation for %{name}.
-DURIPARSER_BUILD_TESTS:BOOL=OFF \
%endif
-DURIPARSER_BUILD_TOOLS:BOOL=ON \
-DURIPARSER_BUILD_WCHAR:BOOL=ON
-DURIPARSER_BUILD_WCHAR:BOOL=ON \
-DQHG_LOCATION:PATH=%{_libexecdir}/qt6/qhelpgenerator
%cmake_build
%install
@@ -148,5 +149,6 @@ unset MALLOC_CHECK_ MALLOC_PERTURB_
%doc doc/Mainpage.txt
%dir %{_docdir}/%{name}/
%{_docdir}/%{name}/html/
%{_docdir}/%{name}/%{name}-%{version}.qch
%changelog