summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/qt3-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/qt3/qt3-3.5.13.2.spec')
-rw-r--r--opensuse/core/qt3/qt3-3.5.13.2.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/opensuse/core/qt3/qt3-3.5.13.2.spec b/opensuse/core/qt3/qt3-3.5.13.2.spec
index 4c78ad2f2..a50af8db8 100644
--- a/opensuse/core/qt3/qt3-3.5.13.2.spec
+++ b/opensuse/core/qt3/qt3-3.5.13.2.spec
@@ -79,9 +79,13 @@ BuildRequires: glu-devel
%endif
# PNG support
-%if %suse_version > 1220
+%if %suse_version >= 1310
+BuildRequires: libpng16-compat-devel
+%endif
+%if %suse_version >= 1210 && %suse_version < 1300
BuildRequires: libpng15-compat-devel
-%else
+%endif
+%if %suse_version >= 1110 && %suse_version < 1200
BuildRequires: libpng14-compat-devel
%endif