summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavla Kratochvilova <pkratoch@redhat.com>2021-04-28 13:34:31 +0200
committerMarek Blaha <mblaha@redhat.com>2021-04-28 14:17:43 +0200
commit410ae77383086a3b599eb98399eb5c66abd95fc9 (patch)
treed16a211a57fef7449de713d607ea3530c7798713
parent394438b0d39a6794723aca6be58757596a648248 (diff)
Fix spec conditional to enable libmodulemd in RHEL >= 8 (RhBug:1816753)
-rw-r--r--createrepo_c.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/createrepo_c.spec b/createrepo_c.spec
index a0ed90c..92ff091 100644
--- a/createrepo_c.spec
+++ b/createrepo_c.spec
@@ -10,13 +10,13 @@
%bcond_without drpm
%endif
-%if 0%{?rhel} || 0%{?fedora} < 29
+%if 0%{?rhel}
%bcond_with zchunk
%else
%bcond_without zchunk
%endif
-%if 0%{?rhel} || 0%{?fedora} < 29
+%if 0%{?rhel} && 0%{?rhel} < 8
%bcond_with libmodulemd
%else
%bcond_without libmodulemd