We need to conflict with selinux-policy-base

Conflict with selinux-policy causes deadlocks in buildroots when
there's no selinux-policy available. selinux-policy-base is provided by
targeted, mls and minimum subpackages which are not installed to
buildroots.

conflicts
This commit is contained in:
Petr Lautrbach 2015-07-21 10:50:08 +02:00
parent c9ef5a0dab
commit 137759fab5

View File

@ -9,7 +9,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.4
Release: 1%{?dist}
Release: 1%{?dist}.1
License: Public Domain
Group: System Environment/Libraries
# https://github.com/SELinuxProject/selinux/wiki/Releases
@ -25,7 +25,7 @@ BuildRequires: pkgconfig python-devel ruby-devel ruby libsepol-static >= %{libse
BuildRequires: python3-devel
%endif # if with_python3
Requires: libsepol >= %{libsepolver} pcre
Conflicts: filesystem < 3, selinux-policy < 3.13.1-138
Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@ -245,7 +245,7 @@ rm -rf %{buildroot}
%{ruby_vendorarchdir}/selinux.so
%changelog
* Thu Jul 16 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1.1
- Update to 2.4 release
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-11