explicitly use Python 3 for fedabipkgdiff

This commit is contained in:
Nils Philippsen 2018-07-25 23:13:37 +02:00
parent 6bfee0172e
commit 01ef5a7e4c

View File

@ -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 <nils@tiptoe.de> - 1.4-2
- explicitly use Python 3 for fedabipkgdiff
* Fri Jul 13 2018 Dodji Seketeli <dodji@redhat.com> - 1.4-1
- Update to upstream 1.4
- Merge change to build fedabipkgdiff in Fedora only.