From: Marcin Krol Date: Fri, 18 Mar 2016 13:12:11 +0000 (+0000) Subject: - updated python3 BRs X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=c68c6d15e8f22df9c2027a0ee48a34f4fdb9c0af;p=packages%2Flvm2.git - updated python3 BRs --- 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}