diff --git a/libselinux.spec b/libselinux.spec index 0d03484..02d2499 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -22,9 +22,9 @@ Url: https://github.com/SELinuxProject/selinux/wiki # $ VERSION=2.5-rc1 ./make-fedora-selinux-patch.sh libselinux # HEAD https://github.com/fedora-selinux/selinux/commit/fcbe30acc1ab728944f06ee9df9dc007053b5781 Patch1: libselinux-fedora.patch -BuildRequires: pkgconfig python-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre-devel xz-devel +BuildRequires: pkgconfig python python-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre-devel xz-devel %if 0%{?with_python3} -BuildRequires: python3-devel +BuildRequires: python3 python3-devel %endif # if with_python3 Requires: libsepol >= %{libsepolver} pcre Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138