Build python2 subpackage on F33, python2-pillow is still around

epel9
Sandro Mani 5 years ago
parent c94e67291b
commit ffdfe287fe

@ -1,6 +1,6 @@
Name: python-olefile
Version: 0.46
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Python package to parse, read and write Microsoft OLE2 files
%global srcname olefile
@ -19,7 +19,7 @@ antivirus quarantine files, etc.
# Build without python2 package for newer releases > fc32 and > rhel8
# python2 package already released for rhel8
# https://pagure.io/fesco/issue/2266
%if (0%{?fedora} && 0%{?fedora} > 32 ) || ( 0%{?rhel} && 0%{?rhel} > 8 ) || 0%{?flatpak}
%if (0%{?fedora} && 0%{?fedora} > 33 ) || ( 0%{?rhel} && 0%{?rhel} > 8 ) || 0%{?flatpak}
%bcond_with python2
%else
%bcond_without python2
@ -145,6 +145,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} tests/test_olefile.py
%changelog
* Sat May 30 2020 Sandro Mani <manisandro@gmail.com> - 0.46-11
- Build python2 subpackage on F33, python2-pillow is still around
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.46-10
- Rebuilt for Python 3.9

Loading…
Cancel
Save