summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/trinity-koffice.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/koffice/trinity-koffice.spec')
-rw-r--r--redhat/applications/koffice/trinity-koffice.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/koffice/trinity-koffice.spec b/redhat/applications/koffice/trinity-koffice.spec
index fe3f44328..63f51b23b 100644
--- a/redhat/applications/koffice/trinity-koffice.spec
+++ b/redhat/applications/koffice/trinity-koffice.spec
@@ -108,9 +108,13 @@ BuildRequires: libutempter-devel
BuildRequires: GraphicsMagick-devel >= 1.1.0
BuildRequires: trinity-wv2-devel
-BuildRequires: trinity-poppler-qt3-devel >= 0.1.2
BuildRequires: trinity-libwpd-devel
BuildRequires: trinity-libpqxx-devel
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: poppler-qt-devel >= 0.1.2
+%else
+BuildRequires: trinity-poppler-qt3-devel >= 0.1.2
+%endif
%description
KOffice is an integrated office suite.