Skip to content

Commit

Permalink
Update mock/mock.spec
Browse files Browse the repository at this point in the history
Co-authored-by: Neal Gompa (ニール・ゴンパ) <[email protected]>
  • Loading branch information
praiskup and Conan-Kudo authored Nov 11, 2024
1 parent 73c571d commit 84b77f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mock/mock.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# distributions, however, %%pre is needed. On some of those older distros the
# %%sysusers_*_compat macros could help (but not everywhere), so turns out it is
# just way easier and to expand those macros and hardcode them in this specfile.
%if 0%{?rhel} && 0%{?rhel} <= 9
%bcond_without sysusers_compat
%else
%if 0%{?fedora} || 0%{?rhel} >= 10
%bcond_with sysusers_compat
%else
%bcond_without sysusers_compat
%endif

%global __python %{__python3}
Expand Down

0 comments on commit 84b77f1

Please sign in to comment.