FTBFS fix: %{__python} must now be explicitly defined

Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
Merlin Mathesius 2020-07-28 11:29:07 -05:00
parent d9ba954fe9
commit bdc1573361

View File

@ -1,11 +1,12 @@
%if 0%{?fedora} > 27 || 0%{?rhel} >= 9
%global use_python3 1
%define __python %{__python3}
%endif
Summary: Utilities to convert Outlook .pst files to other formats
Name: libpst
Version: 0.6.75
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2+
URL: http://www.five-ten-sg.com/%{name}/
Source: %{url}/packages/%{name}-%{version}.tar.gz
@ -54,7 +55,7 @@ Requires: python
Summary: Python bindings for libpst
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%if 0%{?fedora} >= 20
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 9
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$
%else
%{?filter_setup:
@ -180,6 +181,9 @@ mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_datadir}/doc/%{
%changelog
* Tue Jul 28 2020 Merlin Mathesius <mmathesi@redhat.com> - 0.6.75-6
- FTBFS fix: %%{__python} must now be explicitly defined
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.75-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild