Skip to content

Commit 875df84

Browse files
authored
gd: add explicit BR on fontawesome-fonts to enable ptest (#2093)
* gd: add explicit BR on fontawesome-fonts to enable ptest * gd: gate BR 'fontawesome-fonts' with '%if %{with_check}' Signed-off-by: Muhammad Falak R Wani <[email protected]>
1 parent c5ff195 commit 875df84

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

SPECS/gd/gd.spec

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
%define lname libgd3
2121
Name: gd
2222
Version: 2.3.0
23-
Release: 3%{?dist}
23+
Release: 4%{?dist}
2424
Summary: A Drawing Library for Programs That Use PNG and JPEG Output
2525
License: MIT
2626
Vendor: Microsoft Corporation
@@ -38,6 +38,9 @@ BuildRequires: fontconfig-devel
3838
# needed for tests
3939
BuildRequires: libjpeg-devel
4040
BuildRequires: libpng-devel
41+
%if %{with_check}
42+
BuildRequires: fontawesome-fonts
43+
%endif
4144
BuildRequires: pkgconfig
4245
BuildRequires: pkgconfig(freetype2)
4346
BuildRequires: pkgconfig(libtiff-4)
@@ -153,6 +156,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
153156
%{_libdir}/pkgconfig/gdlib.pc
154157

155158
%changelog
159+
* Fri Feb 04 2022 Muhammad Falak <[email protected]> - 2.3.0-4
160+
- Add an explicit BR on 'fontawesome-fonts' to enable ptest
161+
156162
* Wed Jan 26 2022 Henry Li <[email protected]> - 2.3.0-3
157163
- License Verified
158164
- Fix linting
@@ -567,4 +573,4 @@ find %{buildroot} -type f -name "*.la" -delete -print
567573
* Tue Jun 15 1999 [email protected]
568574
- update to 1.3
569575
* Thu Feb 5 1998 [email protected]
570-
- ready for autobuild
576+
- ready for autobuild

0 commit comments

Comments
 (0)