From c31db81a9fbe4d08fc71b7039e804776b31edc26 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Sep 2021 16:18:07 +0200 Subject: update to 2.3.3 open https://github.com/libgd/libgd/pull/766 missing macros open https://github.com/libgd/libgd/pull/767 missing headers --- gd.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'gd.spec') diff --git a/gd.spec b/gd.spec index 06c2e1b..890a5f1 100644 --- a/gd.spec +++ b/gd.spec @@ -44,8 +44,8 @@ Name: gd %else Name: gd-last %endif -Version: 2.3.2 -Release: 4%{?prever}%{?short}%{?dist} +Version: 2.3.3 +Release: 1%{?prever}%{?short}%{?dist} License: MIT URL: http://libgd.github.io/ %if 0%{?commit:1} @@ -55,10 +55,11 @@ Source0: libgd-%{version}-%{commit}.tgz %else Source0: https://github.com/libgd/libgd/releases/download/gd-%{version}/libgd-%{version}.tar.xz %endif -# Missing, temporary workaround, fixed upstream for next version -Source1: https://raw.githubusercontent.com/libgd/libgd/gd-%{version}/tests/heif/label.heic -Patch0: libgd-upstream.patch +# Needed by PHP see https://github.com/libgd/libgd/pull/766 +Patch0: libgd-flip.patch +# Missing header see https://github.com/libgd/libgd/pull/766 +Patch1: libgd-iostream.patch BuildRequires: freetype-devel BuildRequires: fontconfig-devel @@ -167,8 +168,8 @@ files for gd, a graphics library for creating PNG and JPEG graphics. %prep %setup -q -n libgd-%{version}%{?prever:-%{prever}} -install -m 0644 %{SOURCE1} tests/heif/ -%patch0 -p1 -b .up +%patch0 -p1 +%patch1 -p1 : $(perl config/getver.pl) @@ -247,6 +248,8 @@ XFAIL_TESTS="gdimagegrayscale/basic $XFAIL_TESTS" %endif %endif export XFAIL_TESTS +# Workaround to https://github.com/libgd/libgd/issues/763 +export TMPDIR=/tmp : Upstream test suite make check %{?_smp_mflags} @@ -276,6 +279,11 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc %changelog +* Mon Sep 13 2021 Remi Collet - 2.3.3-1 +- update to 2.3.3 +- open https://github.com/libgd/libgd/pull/766 missing macros +- open https://github.com/libgd/libgd/pull/767 missing headers + * Wed Apr 28 2021 Remi Collet - 2.3.2-4 - rebuild for libavif new soname on Fedora 34 -- cgit