#2 Switch BuildRequires to python3
Merged 3 years ago by churchyard. Opened 4 years ago by pviktori.
rpms/ pviktori/xastir py2br  into  master

file modified
+5 -2
@@ -2,7 +2,7 @@ 

  Name:    xastir

  Epoch:   1

  Version: 2.1.4

- Release: 8%{?dist}

+ Release: 9%{?dist}

  License: GPLv2+

  Source0: https://github.com/Xastir/Xastir/archive/Release-%{version}.tar.gz

  Source1: %{name}.desktop
@@ -20,7 +20,7 @@ 

  BuildRequires: lesstif-devel

  %endif

  BuildRequires: dos2unix, libax25-devel, curl-devel, pcre-devel, proj-devel

- BuildRequires: python2-devel, gpsman, gdal-devel, libdb-devel

+ BuildRequires: python3-devel, gpsman, gdal-devel, libdb-devel

  BuildRequires: desktop-file-utils, xfontsel, hdf5-devel

  

  %description
@@ -78,6 +78,9 @@ 

  %doc README.MAPS UPGRADE

  

  %changelog

+ * Wed Jan 13 2021 Petr Viktorin <pviktori@redhat.com> - 2.1.4-9

+ - Switch BuildRequires to python3

+ 

  * Mon Sep 21 2020 Jeff Law <law@redhat.com> - 2.1.4-8

  - Depend on libdb-devel rather than db4-devel

  

xastir seems to need python3 rather then python2: there's a sed switching shebang to python3.
Can the BuildRequires be switched?

(the CI will fail due to an existing issue in C code: BZ1793558)

rebased onto bd30ebc

3 years ago

Would you mind documenting the db dependency change in the changelog?

There is a new runtime requirement:

+ libdb-5.3.so()(64bit)

2 new commits added

  • Replace db4-devel by its successor, libdb-devel
  • Switch BuildRequires to python3
3 years ago

I've switched to libdb (see BZ1838596) to fix the FTBFS.

rebased onto f4b71c6

3 years ago

Pull-Request has been merged by churchyard

3 years ago