Disable mkpasswd on EPEL

There is an "expect" package that conflicts with it.
This commit is contained in:
Petr Písař 2019-08-27 16:23:04 +02:00
parent d01190b20a
commit 04a9068d7a

View File

@ -1,5 +1,9 @@
# Package mkpasswd tool
%if 0%{?rhel}
%{bcond_with whois_enables_mkpasswd}
%else
%{bcond_without whois_enables_mkpasswd}
%endif
# Add IDN support
%{bcond_without whois_enables_idn}
# Use libidn2 instead of libidn
@ -26,7 +30,7 @@ BuildConflicts: pkgconfig(libidn2)
BuildConflicts: pkgconfig(libidn)
BuildConflicts: pkgconfig(libidn2)
%endif
%if %{with whois_enables_mkpasswd} && ! ( 0%{?fedora} < 28)
%if %{with whois_enables_mkpasswd}
BuildRequires: pkgconfig(libcrypt)
BuildRequires: pkgconfig(libxcrypt) >= 4.1
%endif