summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/koffice/trinity-koffice-3.5.13.2.spec')
-rw-r--r--redhat/applications/koffice/trinity-koffice-3.5.13.2.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec b/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec
index 57cfda50e..ab290b820 100644
--- a/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec
+++ b/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec
@@ -149,7 +149,12 @@ BuildRequires: libwpd-devel
Obsoletes: trinity-libwpd
# WV2 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}wv2-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: wv2-devel
+%endif
# MESA support
%if 0%{?mgaversion} || 0%{?mdkversion}