From 7a440f0738423eaa8359908b2adc05e51b1ce4ef Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 22 Jan 2018 17:27:01 +0100 Subject: [PATCH] Fix wrong RHEL condition Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1537193 Signed-off-by: Igor Gnatenko --- mock-core-configs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 7a46394..df035e8 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -3,7 +3,7 @@ Name: mock-core-configs Version: 28.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -29,7 +29,7 @@ Requires(post): system-release Requires(post): python3 Requires(post): sed %endif -%if 0%{?rhel} <= 7 +%if 0%{?rhel} && 0%{?rhel} <= 7 # to detect correct default.cfg Requires(post): python Requires(post): yum @@ -119,6 +119,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Jan 22 2018 Igor Gnatenko - 28.1-2 +- Fix wrong RHEL condition + * Mon Jan 22 2018 Miroslav Suchý 28.1-1 - bump up version to 28.1