!15 【Issue修复】安装Bear rpmbuild后的src.rpm包编译失败

From: @xhuacmer 
Reviewed-by: @li-yancheng 
Signed-off-by: @li-yancheng
This commit is contained in:
openeuler-ci-bot 2023-05-06 03:23:34 +00:00 committed by Gitee
commit 100aab2793
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -11,11 +11,15 @@
%bcond_with tests
Name: Bear
Version: 3.0.20
Release: 3
Release: 4
Summary: Tool to generate compilation database for clang tooling
License: GPL-3.0-or-later
URL: https://github.com/rizsotto/Bear
Source: %{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
Source1: googletest-release-1.12.1.tar.gz
Source2: fmt-9.0.0.tar.gz
Source3: json-3.10.5.tar.gz
Source4: spdlog-1.10.0.tar.gz
BuildRequires: bash-completion
BuildRequires: gcc, gcc-c++, make
BuildRequires: protobuf-devel, grpc-devel, grpc-plugins
@ -92,6 +96,12 @@ popd
%{_libdir}/bear/
%changelog
* Fri Jan 6 2023 yangtao <yangt111@chinatelecom.cn> - 3.0.20-4
- Type:SPEC
- ID:NA
- SUG:NA
- DESC: fix missing other tar.gz packages in src.rpm.
* Mon Dec 19 2022 zhaowenyu <804544223@qq.com> - 3.0.20-3
- Type:SPEC
- ID:NA