https://bugzilla.redhat.com/show_bug.cgi?id=1310796
--- Comment #13 from Matthew Barnes <mbarnes(a)redhat.com> ---
Well the Summary is exactly the author's own description.
see
https://github.com/jplana/python-etcd
and
https://pypi.python.org/pypi/python-etcd
I added the word "library" for clarification, and tried to expand on the
description.
Think I got everything else you noted.
diff --git a/python-etcd.spec b/python-etcd.spec
index 3632570..0efb666 100644
--- a/python-etcd.spec
+++ b/python-etcd.spec
@@ -1,14 +1,16 @@
%global srcname python-etcd
-%global sum A python client for etcd
Name: %{srcname}
Version: 0.4.3
Release: 1%{?dist}
-Summary: %{sum}
+Summary: A python client library for etcd
License: MIT
URL:
http://pypi.python.org/pypi/%{srcname}
-Source0:
https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}
+
+# Using the github URL because the tarball file at pypi excludes
+# the license file. But github tarball files are named awkwardly.
+Source0:
https://github.com/jplana/%{srcname}/archive/%{version}.tar.gz
#VCS:
git:https://github.com/jplana/python-etcd
@@ -29,33 +31,40 @@ BuildRequires: python3-pyOpenSSL
# Needed for tests
BuildRequires: etcd
-BuildRequires: git
-
Patch1: python-etcd-0.4.3-auth-test-fail-workaround.patch
%description
-Client library for accessing and manipulating etcd contents.
+Client library for interacting with an etcd service, providing Python
+access to the full etcd REST API. Includes authentication, accessing
+and manipulating shared content, managing cluster members, and leader
+election.
%package -n python2-%{srcname}
-Summary: %{sum}
+Summary: %summary
Requires: etcd
Requires: python-dns
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
-Client library for accessing and manipulating etcd contents.
+Client library for interacting with an etcd service, providing Python
+access to the full etcd REST API. Includes authentication, accessing
+and manipulating shared content, managing cluster members, and leader
+election.
%package -n python3-%{srcname}
-Summary: %{sum}
+Summary: %summary
Requires: etcd
Requires: python3-dns
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
-Client library for accessing and manipulating etcd contents.
+Client library for interacting with an etcd service, providing Python
+access to the full etcd REST API. Includes authentication, accessing
+and manipulating shared content, managing cluster members, and leader
+election.
%prep
-%autosetup -Sgit
+%autosetup -p1
%build
%py2_build
@@ -71,10 +80,11 @@ Client library for accessing and manipulating etcd
contents.
# This seems to require a newer python3-mock than what's currently available
# in F23, and even Rawhide. If I let it download mock-1.3.0 from the Python
# Package Index (pypi) then tests pass.
-#%{__python3} setup.py test
+#%%{__python3} setup.py test
%files -n python2-%{srcname}
%doc README.rst
+%license LICENSE.txt
%{python2_sitelib}/*
%files -n python3-%{srcname}
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component