summaryrefslogtreecommitdiffstats
path: root/libhandlebars.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-19 16:49:47 +0100
committerRemi Collet <remi@remirepo.net>2020-02-19 16:49:47 +0100
commit8dd0522c2759f2dbb0351c2002862d1dfd9bc846 (patch)
tree59990b2657e6d88e63b8d9b9e5193a1de8d28d79 /libhandlebars.spec
parent3aef4fd4a2f04523d662468d987b3345395ea113 (diff)
add fix for GCC 10 from
https://github.com/jbboehr/handlebars.c/pull/76 add fix for new check library adapted from upstream
Diffstat (limited to 'libhandlebars.spec')
-rw-r--r--libhandlebars.spec16
1 files changed, 14 insertions, 2 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 0.6.4-3
- F28 rebuild