From 314ca5c8c9f9bb66e69278d84ab6d1b00b5b3599 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Tue, 19 Oct 2021 12:20:36 +0300 Subject: [PATCH] Packages: fixed dependency tracking for Go and Java modules on RHEL7. --- pkg/rpm/unit.module.spec.in | 4 ++-- 1 file 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}