File project.diff of Package perl-GD
--- perl-GD.spec.orig
+++ perl-GD.spec
@@ -1,7 +1,7 @@
#
# spec file for package perl-GD
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,17 @@ BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Constant) >= 0.22
BuildRequires: perl(ExtUtils::PkgConfig)
BuildRequires: perl(File::Which)
+%if 0%{?suse_version} >= 1600
BuildRequires: perl(Test::Fork) >= 0.02
+%endif
+%if 0%{?suse_version} < 1600
+BuildRequires: freetype2-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRequires: libvpx-devel
+BuildRequires: xorg-x11-devel
+%endif
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::NoWarnings) >= 1.00
Provides: perl(GD) = %{version}