17
0

2 Commits

2 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun May 25 15:53:47 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Use Qt6 qhelpgenerator to build qch files.
- Drop support for Leap 15.6 and older: builds fail anyway due to
at least python 3.8 being required.
-------------------------------------------------------------------
Sun Feb 23 06:02:09 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -28,15 +28,11 @@ Source0: https://github.com/PeterFeicht/%{name}/releases/download/v%{vers
Patch0: cppreference-doc-premailer-3.9-compat.patch
BuildRequires: devhelp
BuildRequires: fdupes
BuildRequires: libqt5-qttools
%if 0%{?suse_version} < 1550
BuildRequires: python3-cssutils
%else
# At least version 2.0.0 of cssutils is required for building on oS 1550
BuildRequires: python3-cssutils >= 2.0.0
%endif
BuildRequires: python3-lxml
BuildRequires: python3-premailer
BuildRequires: qt6-macros
BuildRequires: qt6-tools-helpgenerators
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -68,7 +64,7 @@ This package provides the documentation in the qhelp format.
%autosetup -p1
%build
make %{?_smp_mflags} qhelpgenerator=qhelpgenerator-qt5
make %{?_smp_mflags} qhelpgenerator=%{_qt6_libexecdir}/qhelpgenerator
%install
%make_install