From c0c97d28380a61a5566427c9d86da0e0333f0680 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Tue, 1 Jun 2021 16:25:52 +0800 Subject: [PATCH] Fix building error, add gcc-g++ build requires update cairomm.spec. --- cairomm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cairomm.spec b/cairomm.spec index fed2645..96562d2 100644 --- a/cairomm.spec +++ b/cairomm.spec @@ -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 - 1.12.0-11 +- Fix building error: C++ compiler cannot create executables +- Add gcc-g++ in BuildRequires * Sun Dec 1 2019 jiaxiya - 1.12.0-10 - Package init -- Gitee