Build python3 subpackage on el6
This commit is contained in:
parent
e9874b9f4a
commit
6dfa2898a6
@ -10,20 +10,20 @@ pid provides a PidFile class that manages PID files. PidFile features:
|
||||
|
||||
PidFile can also be used as a context manager or a decorator.}
|
||||
|
||||
# Build python3 for EPEL7, but not 6
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
%bcond_with python3
|
||||
%else
|
||||
%bcond_without python3
|
||||
%if %{defined el6}
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
# Do not build python2 for EPEL > 7, Fedora > 28
|
||||
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
|
||||
%bcond_with python2
|
||||
%else
|
||||
%bcond_without python2
|
||||
%if %{defined el7}
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
%if %{defined fedora} && 0%{?fedora} < 29
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
%bcond_without python3
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 2.2.3
|
||||
Release: 1%{?dist}
|
||||
@ -117,6 +117,7 @@ rm -rf %{srcname}.egg-info
|
||||
%changelog
|
||||
* Tue Mar 05 2019 Carl George <carl@george.computer> - 2.2.3-1
|
||||
- Latest upstream
|
||||
- Build python3 subpackage on el6
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user