diff mbox series

[ovs-dev,3/3] centos: fix selinux intermediate file

Message ID 20170901171740.27234-4-aconole@redhat.com
State Accepted
Headers show
Series Address some fallout from the selinux patches | expand

Commit Message

Aaron Conole Sept. 1, 2017, 5:17 p.m. UTC
The commit 7bc1aae71e89 ("rhel: make the selinux policy intermediate")
broke the centos RPM builds.  This commit ensures that the centos rpmbuild
will first create the openvswitch-custom.te file, and then create the
final policy files.

Fixes: 7bc1aae71e89 ("rhel: make the selinux policy intermediate")
Reported-by: Ansis Atteka <aatteka@ovn.org>
Signed-off-by: Aaron Conole <aconole@redhat.com>
---
 rhel/openvswitch.spec.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Ansis Sept. 1, 2017, 7:44 p.m. UTC | #1
On 1 September 2017 at 10:17, Aaron Conole <aconole@redhat.com> wrote:
> The commit 7bc1aae71e89 ("rhel: make the selinux policy intermediate")
> broke the centos RPM builds.  This commit ensures that the centos rpmbuild
> will first create the openvswitch-custom.te file, and then create the
> final policy files.
>
> Fixes: 7bc1aae71e89 ("rhel: make the selinux policy intermediate")
> Reported-by: Ansis Atteka <aatteka@ovn.org>
> Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Ansis Atteka <aatteka@ovn.org>
diff mbox series

Patch

diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 412f3cd..e510d35 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -68,6 +68,7 @@  Tailored Open vSwitch SELinux policy
 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} \
     --libdir=%{_libdir} --enable-ssl --enable-shared
 make %{_smp_mflags}
+make selinux/openvswitch-custom.te
 cd selinux
 make -f %{_datadir}/selinux/devel/Makefile