summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-09-22 10:25:29 +0200
committerRemi Collet <remi@remirepo.net>2017-09-22 10:25:29 +0200
commit755cf46f64964517f04de2a59602ceaefe715233 (patch)
treea16a932a472d509b803b2a0b8d288872494da7af
parent16f16ce4ffde2b38f7e90c0406faa492d2adfaf8 (diff)
bump epoch to 3 for mageia
-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