From 01ef5a7e4c052de7ba38237acd300ac421ab09f5 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 25 Jul 2018 23:13:37 +0200 Subject: [PATCH] explicitly use Python 3 for fedabipkgdiff --- libabigail.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index d07c3ce..f559ad5 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: LGPLv3+ @@ -106,6 +106,11 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} dos2unix doc/manuals/html/_static/jquery.js +%if 0%{?fedora} +# Explicitly use Python 3 as the interpreter +pathfix.py -i %{__python3} -pn %{_bindir}/fedabipkgdiff +%endif + %check time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2) @@ -154,6 +159,9 @@ fi %doc doc/manuals/html/* %changelog +* Wed Jul 25 2018 Nils Philippsen - 1.4-2 +- explicitly use Python 3 for fedabipkgdiff + * Fri Jul 13 2018 Dodji Seketeli - 1.4-1 - Update to upstream 1.4 - Merge change to build fedabipkgdiff in Fedora only.