Use python2 explicitly in tests of python2 bindings instead of just "python"
Resolves: rhbz#1582899 - libuser: FTBFS in Fedora 28
This commit is contained in:
parent
adbd424297
commit
31f21742cd
@ -1,6 +1,6 @@
|
||||
Name: libuser
|
||||
Version: 0.62
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
Group: System Environment/Base
|
||||
License: LGPLv2+
|
||||
URL: https://pagure.io/libuser
|
||||
@ -79,7 +79,8 @@ popd
|
||||
|
||||
%build
|
||||
pushd python2
|
||||
%configure --with-selinux --with-ldap --with-html-dir=%{_datadir}/gtk-doc/html
|
||||
%configure --with-selinux --with-ldap --with-html-dir=%{_datadir}/gtk-doc/html \
|
||||
PYTHON=/usr/bin/python2
|
||||
make
|
||||
popd
|
||||
|
||||
@ -153,6 +154,10 @@ LC_ALL=C.UTF-8 python3 -c "import libuser"
|
||||
%{_datadir}/gtk-doc/html/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 9 2018 Jakub Hrozek <jhrozek@redhat.com> - 0.62-16
|
||||
- Use python2 explicitly in tests of python2 bindings instead of just "python"
|
||||
- Related: rhbz#1582899 - libuser: FTBFS in Fedora 28
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.62-15
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user