From 8dd0522c2759f2dbb0351c2002862d1dfd9bc846 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Feb 2020 16:49:47 +0100 Subject: add fix for GCC 10 from https://github.com/jbboehr/handlebars.c/pull/76 add fix for new check library adapted from upstream --- libhandlebars.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'libhandlebars.spec') diff --git a/libhandlebars.spec b/libhandlebars.spec index 5380463..185822d 100644 --- a/libhandlebars.spec +++ b/libhandlebars.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for libhandlebars # -# Copyright (c) 2017 Remi Collet +# Copyright (c) 2017-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -24,7 +24,7 @@ Name: %{libname} Version: 0.6.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Handlebars C library License: LGPLv2+ @@ -33,6 +33,11 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_ Source1: https://github.com/%{hspec_owner}/%{hspec_project}/archive/%{hspec_commit}/%{hspec_project}-%{hspec_short}.tar.gz Source2: https://github.com/%{mspec_owner}/%{mspec_project}/archive/%{mspec_commit}/%{mspec_project}-%{mspec_short}.tar.gz +# For GCC 10 +Patch0: %{libname}-gcc10.patch +# Fox new check library +Patch1: %{libname}-check.patch + BuildRequires: gcc BuildRequires: autoconf BuildRequires: automake @@ -78,6 +83,8 @@ This package provides handlebarsc command line tool split off %{libname}. %prep %setup -qn %{gh_project}-%{gh_commit} -a1 -a2 +%patch0 -p1 -b .gcc10 +%patch1 -p1 -b .newcheck mkdir spec mv %{hspec_project}-%{hspec_commit} spec/handlebars @@ -123,6 +130,11 @@ make test %changelog +* Wed Feb 19 2020 Remi Collet - 0.6.4-4 +- add fix for GCC 10 from + https://github.com/jbboehr/handlebars.c/pull/76 +- add fix for new check library adapted from upstream + * Tue Jun 26 2018 Remi Collet - 0.6.4-3 - F28 rebuild -- cgit