summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qelectrotech.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/qelectrotech.spec b/qelectrotech.spec
index 8b66400..b4161aa 100644
--- a/qelectrotech.spec
+++ b/qelectrotech.spec
@@ -28,6 +28,11 @@ Summary(pl): Edytor schematów elektrycznych
Summary(pt): Um editor de esquemas eléctricos
Summary(ru): Редактор электрических схем
+%if 0%{?mageia}
+Epoch: 3
+%else
+Epoch: 0
+%endif
# Upstream version is a float so 0.11 < 0.2 < 0.21 < 0.3
# So use %.2f with upstream acknowledgment
# Remember to check rdate and upver macro on each update
@@ -63,7 +68,7 @@ BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
-Requires: qelectrotech-symbols = %{version}-%{release}
+Requires: qelectrotech-symbols = %{epoch}:%{version}-%{release}
%if 0%{?fedora}
Recommends: electronics-menu
%endif
@@ -140,7 +145,7 @@ Summary(ru): Коллекция элементов для QElectroTech
Group: Applications/Productivity
License: CC-BY
BuildArch: noarch
-Requires: qelectrotech = %{version}-%{release}
+Requires: qelectrotech = %{epoch}:%{version}-%{release}
%description symbols