spec: Fix build on fedora 28

This commit is contained in:
Cole Robinson 2018-04-03 15:25:17 -04:00
parent 9a87a8d5ea
commit 37eb7e9f3f

View File

@ -1,5 +1,9 @@
# -*- rpm-spec -*-
# RPM doesn't detect that code in /usr/share is python3, this forces it
# https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Python_bytecompilation
%global __python %{__python3}
%global with_guestfs 0
%global stable_defaults 0