Hello community, here is the log from the commit of package powerline for openSUSE:Factory checked in at 2018-03-04 12:49:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerline (Old) and /work/SRC/openSUSE:Factory/.powerline.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerline" Sun Mar 4 12:49:34 2018 rev:4 rq:580898 version:2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/powerline/powerline.changes 2017-05-10 20:53:37.276568979 +0200 +++ /work/SRC/openSUSE:Factory/.powerline.new/powerline.changes 2018-03-04 12:49:39.338037524 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 09:42:56 UTC 2018 - [email protected] + +- Fix powerline requiring both python2 and python3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerline.spec ++++++ --- /var/tmp/diff_new_pack.OHUgLQ/_old 2018-03-04 12:49:40.014012889 +0100 +++ /var/tmp/diff_new_pack.OHUgLQ/_new 2018-03-04 12:49:40.018012743 +0100 @@ -1,7 +1,7 @@ # # spec file for package powerline # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -106,6 +106,11 @@ %prep %setup -q +%if 0%{?suse_version} >= 1330 +# Change shebang in all relevant files in this directory and all subdirectories +find -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + +%endif + %build %install
