diff --git a/sugar-read.spec b/sugar-read.spec index 563b53c..8fd6523 100644 --- a/sugar-read.spec +++ b/sugar-read.spec @@ -29,6 +29,7 @@ Read can read PDF files, single-page TIFF files, and also read DJVU files. %prep %autosetup -n Read-%{version} +sed -i 's#usr/bin/env python#usr/bin/env python2#' setup.py %build python2 ./setup.py build