Blame SOURCES/rhbz1378462.patch

9201c6
commit 9df1b480eb008c63d6dab167fc992e172730ba77
9201c6
Author: Martin Cermak <mcermak@redhat.com>
9201c6
Date:   Thu Sep 22 15:10:29 2016 +0200
9201c6
9201c6
    Fix rhbz1378462 by updating the path to stap-gen-cert in stap-server.
9201c6
9201c6
diff --git a/stap-server b/stap-server
9201c6
index c39ae49..7cb75d6 100644
9201c6
--- a/stap-server
9201c6
+++ b/stap-server
9201c6
@@ -503,7 +503,7 @@ prepare_stat_dir () {
9201c6
 prepare_certs () {
9201c6
     if [ "$USER" != "`id -un`" ]; then
9201c6
         if ! runuser -s /bin/bash - $USER -c 'test -f $HOME/.systemtap/ssl/server/stap.cert'; then
9201c6
-            runuser -s /bin/bash - $USER -c %{_libexecdir}/systemtap/stap-gen-cert >/dev/null
9201c6
+            runuser -s /bin/bash - $USER -c ${PKGLIBEXECDIR}stap-gen-cert >/dev/null
9201c6
         fi
9201c6
     else
9201c6
         if ! test -f $HOME/.systemtap/ssl/server/stap.cert; then