summaryrefslogtreecommitdiffstats
path: root/gd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'gd.spec')
-rw-r--r--gd.spec22
1 files changed, 15 insertions, 7 deletions
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 <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