From c68c6d15e8f22df9c2027a0ee48a34f4fdb9c0af Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 18 Mar 2016 13:12:11 +0000 Subject: [PATCH] - updated python3 BRs --- lvm2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lvm2.spec b/lvm2.spec index c761f65..1b1a4f9 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -60,6 +60,7 @@ URL: http://www.sourceware.org/lvm2/ 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} @@ -67,7 +68,10 @@ BuildRequires: libblkid-devel >= 2.24 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} -- 2.46.0