From 073ed832c482221c594a33c5ef1b6e373029a46d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 10 Jul 2020 20:46:49 +0300 Subject: [PATCH] Fix error in rpm package. Different distributions package poppler under different names. --- dist/rpm/valentina.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index ce1341b8e..da14601e9 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -79,7 +79,13 @@ BuildRequires: libqt5-qtxmlpatterns-devel #BuildRequires: clang-libs #%endif -Requires: poppler-utils +%if 0%{?mageia} > 0 +Requires: poppler +%elif 0%{?suse_version} > 0 +Requires: poppler-tools +%elif 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0 +Requires: poppler-utils +%endif Version: 0.7.0 Release: 0