From b3125c9748d0b63062caf5804ff19c8fa8992680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 11 Feb 2017 13:22:55 +0100 Subject: [PATCH] RPM packaging: fix digikam-i18n dependencies --- redhat/applications/digikam/digikam-14.0.0.spec | 4 ++-- redhat/build/get_rpm_package_name.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/redhat/applications/digikam/digikam-14.0.0.spec b/redhat/applications/digikam/digikam-14.0.0.spec index 15491baa1..bbcb8c317 100644 --- a/redhat/applications/digikam/digikam-14.0.0.spec +++ b/redhat/applications/digikam/digikam-14.0.0.spec @@ -264,7 +264,7 @@ digiKam is based in part on the work of the Independent JPEG Group. %package devel Group: Development/Libraries Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel %{summary} @@ -281,7 +281,7 @@ Requires: %{name} = %{version}-%{release} %package i18n Summary: Translation files for %{tde_pkg} Group: Applications/Utilities -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description i18n %{summary} diff --git a/redhat/build/get_rpm_package_name.sh b/redhat/build/get_rpm_package_name.sh index d7ccec68e..bf1f34ffb 100755 --- a/redhat/build/get_rpm_package_name.sh +++ b/redhat/build/get_rpm_package_name.sh @@ -45,6 +45,7 @@ case "${PKGNAME}" in "avahi-tqt") PKGRUNTIME="${lib}avahi-tqt1";; "dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";; "dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";; + "digikam") PKGRUNTIME="digikam-i18n";; "esound") PKGRUNTIME="esound-libs";; "imlib1") PKGRUNTIME="${lib}Imlib1";; "knetworkmanager8") PKGRUNTIME="knetworkmanager";;