commit 6dd394c839fe0b878dbea33b39e6e0b397c3d33e
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Thu Oct 11 10:24:18 2018 -0500
Move find/execstack call into the ifarch conditional so it is not executed on
ppc64le.
unifi.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/unifi.spec b/unifi.spec
index 577eb18..e3ed861 100644
--- a/unifi.spec
+++ b/unifi.spec
@@ -186,10 +186,10 @@ install -pm 0755 Linux/%{unifi_arch}/*.so
%{buildroot}%{_libdir}/%{name}/
for lib in $(ls %{buildroot}%{_libdir}/%{name}/*.so); do
ln -sr $lib %{buildroot}%{_datadir}/unifi/lib/native/Linux/%{unifi_arch}
done
-%endif
-
# Try to fix java VM warning about running execstack on libubnt_webrtc_jni.so
find %{buildroot}%{_libdir} -name libubnt_webrtc_jni.so -exec execstack -c {} \;
+%endif
+
# Install logrotate config
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d