diff --git a/SPECS/lttng-ust.spec b/SPECS/lttng-ust.spec
index 354e2dd..194ea54 100644
--- a/SPECS/lttng-ust.spec
+++ b/SPECS/lttng-ust.spec
@@ -1,6 +1,6 @@
 Name:           lttng-ust
 Version:        2.8.1
-Release:        9%{?dist}
+Release:        11%{?dist}
 License:        LGPLv2 and GPLv2 and MIT
 Group:          Development/Libraries
 Summary:        LTTng Userspace Tracer library
@@ -12,6 +12,7 @@ BuildRequires:  libuuid-devel texinfo
 BuildRequires:  userspace-rcu-devel >= 0.8.0
 BuildRequires:  autoconf automake libtool
 BuildRequires:  systemtap-sdt-devel
+BuildRequires:  /usr/bin/pathfix.py
 
 %description
 This library may be used by user-space applications to generate 
@@ -37,12 +38,16 @@ autoreconf -vif
 %configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt
 make %{?_smp_mflags} V=1
 
-sed -i 's|#!/usr/bin/env python|#%{__python3}|' tools/lttng-gen-tp
+pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/lttng-gen-tp
 
 %install
 make DESTDIR=%{buildroot} install
 rm -vf %{buildroot}%{_libdir}/*.la
 
+%check
+make check
+%{buildroot}/%{_bindir}/lttng-gen-tp --help
+
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -74,6 +79,12 @@ rm -vf %{buildroot}%{_libdir}/*.la
 %{_docdir}/%{name}/examples/*
 
 %changelog
+* Wed Mar 06 2019 Ken Dreyer <kdreyer@redhat.com> - 2.8.1-11
+- Run make check in %%check (rhbz#1681951)
+
+* Wed Mar 06 2019 Ken Dreyer <kdreyer@redhat.com> - 2.8.1-10
+- fix shebang in lttng-gen-tp (rhbz#1673990)
+
 * Wed Sep 26 2018 Omair Majid <omajid@redhat.com> - 2.8.1-9
 - Build with standard distro-wide optimization flags even on s390 and s390x
 - Resolves: rhbz#1630591