diff --git a/byobu.spec b/byobu.spec index bd2d08f..fa898ff 100644 --- a/byobu.spec +++ b/byobu.spec @@ -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 @@ Source1: fedoracommon # 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.am 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 @@ cp -p usr/share/byobu/pixmaps/byobu.svg %{buildroot}%{_iconsscaldir} %config(noreplace) %{_sysconfdir}/%{name}/* %changelog +* Wed Mar 27 2019 Miro HronĨok - 5.127-3 +- Switch to Python 3 (#1532565) + * Thu Jan 31 2019 Fedora Release Engineering - 5.127-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild