!8 [sync] PR-7: add BuildRequires gcc

From: @openeuler-sync-bot 
Reviewed-by: @leeffo 
Signed-off-by: @leeffo
This commit is contained in:
openeuler-ci-bot 2023-08-25 01:27:45 +00:00 committed by Gitee
commit ab450cb313
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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