#2 Switch to Python 3 (#1532565)
Merged 2 years ago by filiperosset. Opened 2 years ago by churchyard.
rpms/ churchyard/byobu py3  into  master

file modified
+7 -8
@@ -6,7 +6,7 @@ 

  

  Name:		byobu

  Version:	5.127

- Release:	2%{?dist}

+ Release:	3%{?dist}

  Summary:	Light-weight, configurable window manager built upon GNU screen

  

  License:	GPLv3
@@ -17,14 +17,9 @@ 

  # patch for "hard" date/time, https://bugs.launchpad.net/byobu/+bug/1284392

  Patch0:		byobu-5.73-tmux_date.patch

  BuildArch:	noarch

- %if 0%{?rhel}%{?fedora} > 5

- Requires:	python2 >= 2.5

- %else

- Requires:	python26

- %endif

  

- BuildRequires:	gettext, desktop-file-utils, automake

- Requires:	screen, newt, gettext, tmux, python2-newt, newt-python3

+ BuildRequires:	gettext, desktop-file-utils, automake, python3

+ Requires:	screen, newt, gettext, tmux, python3-newt

  

  %Description

  Byobu is a Japanese term for decorative, multi-panel screens that serve 
@@ -64,6 +59,7 @@ 

  sed -i "s#/lib/#/libexec/#g" usr/lib/byobu/include/Makefile.in

  

  %build

+ export BYOBU_PYTHON=%{__python3}

  %configure

  make %{?_smp_mflags}

  
@@ -121,6 +117,9 @@ 

  %config(noreplace) %{_sysconfdir}/%{name}/*

  

  %changelog

+ * Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 5.127-3

+ - Switch to Python 3 (#1532565)

+ 

  * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.127-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

no initial comment

Pull-Request has been merged by filiperosset

2 years ago