Skip to content

Commit

Permalink
Attempt to fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Oct 14, 2019
1 parent ff2e819 commit d70d5ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packaging/ondemand.spec
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ SELinux policy for OnDemand

%build
%__mkdir selinux
cd selinux
pushd selinux
echo "SELinux policy %{selinux_policy_ver}"
%__cp %{SOURCE1} ./ondemand-selinux.te
%if 0%{?rhel} >= 7
Expand All @@ -98,10 +98,12 @@ echo "SELinux policy %{selinux_policy_ver}"
%__cp %{SOURCE3} ./ondemand-selinux.fc
%__sed -i 's/@VERSION@/%{selinux_module_version}/' ./ondemand-selinux.te
%__make -f %{_datadir}/selinux/devel/Makefile
popd

scl enable ondemand - << \EOS
set -x
set -e
export OBJDIR=$(pwd)/build
rake -mj%{ncpus}
EOS

Expand Down

0 comments on commit d70d5ce

Please sign in to comment.