[python-docker-py] rewrite conditionals for BR&R docker
lsm5
lsm5 at fedoraproject.org
Tue Aug 26 06:29:11 UTC 2014
commit 34717db823abf5222895bd0d6f7c4c208f4a5677
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date: Tue Aug 26 01:29:07 2014 -0500
rewrite conditionals for BR&R docker
python-docker-py.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-docker-py.spec b/python-docker-py.spec
index ce112a1..a86770e 100644
--- a/python-docker-py.spec
+++ b/python-docker-py.spec
@@ -3,7 +3,7 @@
Name: python-docker-py
Version: 0.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An API client for docker written in Python
License: ASL 2.0
URL: http://www.docker.io
@@ -20,12 +20,12 @@ BuildRequires: python-websocket-client
# Resolves: rhbz#1132604 (epel7 only)
-%if 0%{?rhel} >= 7
+%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
BuildRequires: docker
Requires: docker
%else
BuildRequires: docker-io
-Requires: docker
+Requires: docker-io
%endif
Requires: python-requests
@@ -53,6 +53,9 @@ Requires: python-six
%{python_sitelib}/docker_py-%{version}-py2*.egg-info/*
%changelog
+* Mon Aug 26 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0.4.0-2
+- rewrite BR&R conditionals for docker/docker-io
+
* Thu Aug 21 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0.4.0-1
- update to 0.4.0
- Resolves: rhbz#1132604 (epel7 only)
More information about the scm-commits
mailing list