diff options
author | Remi Collet <remi@remirepo.net> | 2021-09-13 16:18:07 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-09-13 16:18:07 +0200 |
commit | c31db81a9fbe4d08fc71b7039e804776b31edc26 (patch) | |
tree | efdbb6540f773858d96bd48f8c8d667f50e50f63 /gd.spec | |
parent | 66093891b9ba487182226c6bb239dc76d6e8abbf (diff) |
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
Diffstat (limited to 'gd.spec')
-rw-r--r-- | gd.spec | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 2.3.2-4 - rebuild for libavif new soname on Fedora 34 |