add BuildRequires gcc

(cherry picked from commit ff546701e614cab70a5e3a574601e71cd8793bc5)
This commit is contained in:
peijiankang 2023-08-21 15:57:07 +08:00 committed by openeuler-sync-bot
parent fb482a97f7
commit 4c1db84191

View File

@ -1,6 +1,6 @@
Name: qt-assistant-adp
Version: 4.6.3
Release: 20
Release: 21
Summary: Compatibility version of Qt Assistant
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: https://download.qt.io/archive/qt/4.6/
@ -9,6 +9,8 @@ Source1: QAssistantClient
Source2: QtAssistant
Patch0001: 01_build_system.diff
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: qt4-devel >= 4.7.0
%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
@ -26,7 +28,16 @@ Summary: Development filesoftheqt-assistant-adppackage
Requires: %{name} = %{version}-%{release} qt4-devel
%description devel
Development files of the qt-assistant-adp package.
This package contains the files necessary to build applications using the
deprecated QAssistantClient class (in the deprecated QtAssistantClient library),
which is used together with the legacy Assistant Document Profile (.adp) version
of Qt Assistant.
This class is obsolete. It is provided to keep old source code working. We
strongly advise against using it in new code. New code should use the Qt Help
Framework introduced in Qt 4.4 and/or the version of Qt Assistant based on it
(also introduced in Qt 4.4) instead.
%prep
%autosetup -n qt-assistant-qassistantclient-library-compat-version-%{version} -p1
@ -92,5 +103,8 @@ cd -
%changelog
* Mon Aug 21 2023 peijiankang <peijiankang@kylinos.cn> - 4.6.3-21
- add BuildRequires gcc
* Wed Feb 19 2020 daiqianwen <daiqianwen@huawei.com> - 4.6.3-20
- Package init