diff options
author | Andrei Belov <defan@nginx.com> | 2018-01-22 16:39:31 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-01-22 16:39:31 +0300 |
commit | 0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939 (patch) | |
tree | 0f1610a6b727325a80ce3e7d458a457e3ec760ac /pkg/rpm/unit.spec.in | |
parent | be8df0631a6fa4e5afa8c03ed5b84cec72da20d4 (diff) | |
download | unit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.gz unit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.bz2 |
Packages: added support for Amazon Linux.
Diffstat (limited to '')
-rw-r--r-- | pkg/rpm/unit.spec.in | 2 |
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 |