summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/unit.spec.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/rpm/unit.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in
index 45e93dfd..e44c3952 100644
--- a/pkg/rpm/unit.spec.in
+++ b/pkg/rpm/unit.spec.in
@@ -10,8 +10,10 @@ Requires: initscripts >= 8.36
%if 0%{?rhel} == 7
Requires: systemd
BuildRequires: systemd-units
+%if 0%{?amzn} == 0
%define dist .el7
%endif
+%endif
%if 0%{?suse_version} == 1315
BuildRequires: systemd