diff --git a/libxcrypt.spec b/libxcrypt.spec index 3218d23..3485a21 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -7,7 +7,7 @@ # Build the compat package? -%if !(0%{?fedora} >= 999 || 0%{?rhel} >= 99 || %{without new_api}) +%if !(0%{?fedora} >= 999 || 0%{?rhel} >= 99) && %{with new_api} %bcond_without compat_pkg %else %bcond_with compat_pkg