From 8c834c0aba29ee255165e4b399c6499ad7f7b497 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Mar 08 2016 17:44:22 +0000 Subject: fix dependencies for py 3 (rhbz#1287729) --- diff --git a/python-dockerpty.spec b/python-dockerpty.spec index 1a7343f..89faf04 100644 --- a/python-dockerpty.spec +++ b/python-dockerpty.spec @@ -11,7 +11,7 @@ Name: python-%{upstream_name} Version: 0.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python library to use the pseudo-tty of a docker container Group: Development/Libraries @@ -22,11 +22,6 @@ Source0: https://github.com/%{owner}/%{upstream_name}/archive/%{commit}/% Requires: python-docker-py python-six BuildRequires: python-devel python-setuptools python-six -%if 0%{?with_python3} -Requires: python3-docker-py python3-six -BuildRequires: python3-devel python3-setuptools python3-six -%endif # if with_python3 - BuildArch: noarch %description @@ -35,8 +30,10 @@ a docker container, using the Python client %if 0%{?with_python3} %package -n python3-%{upstream_name} -Summary: Python library to use the pseudo-tty of a docker container -Group: Development/Languages +Summary: Python library to use the pseudo-tty of a docker container +Group: Development/Languages +Requires: python3-docker-py python3-six +BuildRequires: python3-devel python3-setuptools python3-six %description -n python3-%{upstream_name} Provides the functionality needed to operate the pseudo-tty (PTY) allocated to @@ -89,6 +86,9 @@ a docker container, using the Python client %endif # with_python3 %changelog +* Tue Mar 08 2016 Tomas Tomecek - 0.4.1-2 +- fix dependencies for py 3 (rhbz#1287729) + * Tue Mar 08 2016 Tomas Tomecek - 0.4.1-1 - new upstream release: 0.4.1