summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-10-19 12:20:36 +0300
committerAndrei Belov <defan@nginx.com>2021-10-19 12:20:36 +0300
commit314ca5c8c9f9bb66e69278d84ab6d1b00b5b3599 (patch)
treea2bfaed30d8aaaecb2491f25d064909f893dbd1f
parent39adb292d54403d17f86f6852e87b0bda1d49946 (diff)
downloadunit-314ca5c8c9f9bb66e69278d84ab6d1b00b5b3599.tar.gz
unit-314ca5c8c9f9bb66e69278d84ab6d1b00b5b3599.tar.bz2
Packages: fixed dependency tracking for Go and Java modules on RHEL7.
Diffstat (limited to '')
-rw-r--r--pkg/rpm/unit.module.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in
index 4f096c73..9b0f6221 100644
--- a/pkg/rpm/unit.module.spec.in
+++ b/pkg/rpm/unit.module.spec.in
@@ -1,12 +1,12 @@
# distribution specific definitions
%define bdir %{_builddir}/%{name}-%{version}
-%%MODULE_DEFINITIONS%%
-
%if (0%{?rhel} == 7 && 0%{?amzn} == 0)
%define dist .el7
%endif
+%%MODULE_DEFINITIONS%%
+
%if 0%{?rhel}%{?fedora}
BuildRequires: gcc
%if 0%{?amzn2}