Fix building error, add gcc-g++ build requires

update cairomm.spec.
This commit is contained in:
baizg1107 2021-06-01 16:25:52 +08:00
parent 045e879b7c
commit c0c97d2838

View File

@ -5,7 +5,7 @@
Name: cairomm
Version: 1.12.0
Release: 10
Release: 11
Summary: C++ API for the cairo graphics library
License: LGPLv2+
URL: http://www.cairographics.org
@ -13,7 +13,7 @@ Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
BuildRequires: cairo-devel >= %{cairo_version}
BuildRequires: libsigc++20-devel >= %{libsigc_version}
BuildRequires: perl, perl(Getopt::Long), pkgconfig
BuildRequires: perl, perl(Getopt::Long), pkgconfig, gcc-g++
Requires: cairo%{?_isa} >= %{cairo_version}
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
@ -67,6 +67,9 @@ developing %{name} applications.
%doc %{_datadir}/devhelp/
%changelog
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 1.12.0-11
- Fix building error: C++ compiler cannot create executables
- Add gcc-g++ in BuildRequires
* Sun Dec 1 2019 jiaxiya <jiaxiyajiaxiya@168.com> - 1.12.0-10
- Package init