BuildRequires: autoconf >= 2.61
BuildRequires: automake
# for /run detection
+BuildRequires: autoconf-archive
BuildRequires: filesystem >= 3.0-43
BuildRequires: libblkid-devel >= 2.24
%{?with_selinux:BuildRequires: libselinux-devel >= 1.10}
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
%{?with_python2:BuildRequires: python-devel >= 1:2.6}
-%{?with_python3:BuildRequires: python3-devel >= 1:3.2}
+%if %{with python3}
+BuildRequires: python3-devel >= 1:3.2
+BuildRequires: python3-modules >= 1:3.2
+%endif
BuildRequires: readline-devel
BuildRequires: rpmbuild(macros) >= 1.647
%{?with_sanlock:BuildRequires: sanlock-devel >= 3.2.4}