diff --git a/libinput.spec b/libinput.spec index 9f6c69a..3481088 100644 --- a/libinput.spec +++ b/libinput.spec @@ -118,6 +118,9 @@ to develop applications that require libinput. %install %meson_install %fdupes %buildroot/%_prefix +perl -i -pe 's{#!/usr/bin/env python}{#!/usr/bin/python}g' \ + "%buildroot/usr/lib/libinput/libinput-measure-fuzz" \ + "%buildroot/usr/lib/libinput/libinput-replay" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig