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