diff --git a/bleachbit.spec b/bleachbit.spec index b196c1a..f788d59 100644 --- a/bleachbit.spec +++ b/bleachbit.spec @@ -1,6 +1,6 @@ Name: bleachbit Version: 2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python utility to free disk space and improve privacy License: GPLv3+ URL: https://www.bleachbit.org/ @@ -40,6 +40,9 @@ sed -i '/Encoding/d' bleachbit.desktop # Drop env shebangs as files in %%_datadir usually don't need this. find bleachbit/ -type f -name '*.py' -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} + +# fix makefile to explicitly use python2 +sed -i 's/python/python2/g' Makefile + %build make -C po local %{__python2} setup.py build @@ -72,6 +75,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %exclude %{_datadir}/%{name}/Windows.py* %changelog +* Mon Jul 16 2018 Mukundan Ragavan - 2.0-3 +- Fix python issues in makefile + * Thu Jul 12 2018 Fedora Release Engineering - 2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild