#2 Switch BuildRequires to python3
Merged 4 years ago by pschiffe. Opened 4 years ago by pviktori.
rpms/ pviktori/lnav py-br  into  master

file modified
+5 -2
@@ -1,6 +1,6 @@ 

  Name:          lnav

  Version:       0.8.5

- Release:       3%{?dist}

+ Release:       4%{?dist}

  Summary:       Curses-based tool for viewing and analyzing log files

  License:       BSD

  
@@ -13,7 +13,7 @@ 

  BuildRequires: ncurses-devel

  BuildRequires: openssl-devel

  BuildRequires: pcre-devel

- BuildRequires: python2

+ BuildRequires: python3

  BuildRequires: readline-devel

  BuildRequires: sqlite-devel

  BuildRequires: zlib-devel
@@ -46,6 +46,9 @@ 

  %{_mandir}/man1/%{name}.1*

  

  %changelog

+ * Mon Feb 03 2020 Petr Viktorin <pviktori@redhat.com> - 0.8.5-4

+ - Switch BuildRequires to python3

+ 

  * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-3

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

  

lnav seems to build fine with python3 instead of python2.
Can the BuildRequires be switched?

(I haven't looked into what Python is used for.)

Actually it seems, that since v0.8.0 it doesn't need python at all:
https://github.com/tstack/lnav/commit/70e2de6fc634b0f2ff5653b96504fe9f1c2c416d

I'll try to take a look later.

Pull-Request has been merged by pschiffe

4 years ago
Metadata