diff options
author | Aleš Matěj <amatej@redhat.com> | 2021-01-19 11:40:19 +0300 |
---|---|---|
committer | Daniel Mach <daniel.mach@gmail.com> | 2021-01-20 14:46:24 +0300 |
commit | be841929fdd1563bf59437e10b913f6565e25d0a (patch) | |
tree | de1381185e43d635caa116cedb3af4d8206254c3 /createrepo_c.spec | |
parent | 1e4f76fe025324d44d5ec5c5b1696501484d4277 (diff) |
Disable drpm also for RHEL >= 9 (RhBug:1914828)
https://bugzilla.redhat.com/show_bug.cgi?id=1914828
Diffstat (limited to 'createrepo_c.spec')
-rw-r--r-- | createrepo_c.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/createrepo_c.spec b/createrepo_c.spec index 73a66f5..d7faaa3 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -11,9 +11,13 @@ %if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_with python3 -%bcond_with drpm %else %bcond_without python3 +%endif + +%if 0%{?rhel} && ( 0%{?rhel} <= 7 || 0%{?rhel} >= 9 ) +%bcond_with drpm +%else %bcond_without drpm %endif |