Blame SOURCES/no-python3.patch

8d85c1
diff -urNp file-roller-3.28.0.old/postinstall.py file-roller-3.28.0/postinstall.py
8d85c1
--- file-roller-3.28.0.old/postinstall.py	2018-06-06 13:50:07.196718573 +0100
8d85c1
+++ file-roller-3.28.0/postinstall.py	2018-06-06 13:55:42.210647307 +0100
8d85c1
@@ -1,4 +1,4 @@
8d85c1
-#!/usr/bin/env python3
8d85c1
+#!/usr/bin/env python
8d85c1
 
8d85c1
 import os
8d85c1
 import subprocess
8d85c1
@@ -8,19 +8,19 @@ datadir = os.path.join(prefix, 'share')
8d85c1
 
8d85c1
 # Packaging tools define DESTDIR and this isn't needed for them
8d85c1
 if 'DESTDIR' not in os.environ:
8d85c1
-    print('Updating icon cache…')
8d85c1
+    print('Updating icon cache')
8d85c1
     icon_cache_dir = os.path.join(datadir, 'icons', 'hicolor')
8d85c1
     if not os.path.exists(icon_cache_dir):
8d85c1
         os.makedirs(icon_cache_dir)
8d85c1
     subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir])
8d85c1
 
8d85c1
-    print('Updating desktop database…')
8d85c1
+    print('Updating desktop database')
8d85c1
     desktop_database_dir = os.path.join(datadir, 'applications')
8d85c1
     if not os.path.exists(desktop_database_dir):
8d85c1
         os.makedirs(desktop_database_dir)
8d85c1
     subprocess.call(['update-desktop-database', '-q', desktop_database_dir])
8d85c1
 
8d85c1
-    print('Compiling GSettings schemas…')
8d85c1
+    print('Compiling GSettings schemas')
8d85c1
     schemas_dir = os.path.join(datadir, 'glib-2.0', 'schemas')
8d85c1
     if not os.path.exists(schemas_dir):
8d85c1
         os.makedirs(schemas_dir)