diff --git a/python-docker.spec b/python-docker.spec index 90681bc..2ac2bdb 100644 --- a/python-docker.spec +++ b/python-docker.spec @@ -2,19 +2,20 @@ # Enable python3 build by default %bcond_without python3 %bcond_without tests +# Disable python2 build by default +%bcond_with python2 %else %bcond_with python3 %bcond_with tests +%bcond_without python2 %endif -# Disable python2 build by default -%bcond_with python2 %global srcname docker Name: python-%{srcname} Version: 3.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Python library for the Docker Engine API License: ASL 2.0 URL: https://pypi.org/project/%{srcname} @@ -157,6 +158,9 @@ cp -avr tests/ %{buildroot}%{_libexecdir}/installed-tests/%{name}/ %endif # tests %changelog +* Mon Feb 25 2019 Yatin Karel - 3.7.0-2 +- Enable python2 build for el7 + * Tue Feb 05 2019 Tomas Tomecek - 3.7.0-1 - New upstream release 3.7.0