diff --git a/libpst.spec b/libpst.spec index 2be9622..08262fb 100644 --- a/libpst.spec +++ b/libpst.spec @@ -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 - 0.6.75-6 +- FTBFS fix: %%{__python} must now be explicitly defined + * Tue Jul 28 2020 Fedora Release Engineering - 0.6.75-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild