Blob Blame History Raw
%global srcname http-client
%global desc Quickly and easily access any RESTful or RESTful-like API.

Name:           python-%{srcname}
Version:        2.2.1
Release:        1%{?dist}
Summary:        HTTP REST client, simplified for Python
License:        MIT
URL:  {name}
Source0:        %{url}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz

BuildArch:      noarch


%package -n python2-%{srcname}
Summary:        %{summary}
BuildRequires:  python2-devel
BuildRequires:  python2-pytest
BuildRequires:  python2-setuptools
%{?python_provide:%python_provide python2-%{srcname}}

%description -n python2-%{srcname}
This is a Python 2 version of the package.

%package -n python3-%{srcname}
Summary:        %{summary}
BuildRequires:  python3-devel
BuildRequires:  python3-pytest
BuildRequires:  python3-setuptools
%{?python_provide:%python_provide python3-%{srcname}}

%description -n python3-%{srcname}
This is a Python 3 version of the package.




py.test-2 -v
py.test-3 -v

%files -n python2-%{srcname}
%license LICENSE.txt

%files -n python3-%{srcname}
%license LICENSE.txt

* Thu Aug 11 2016 Dominika Krejci <> - 2.2.1-1
- Update to 2.2.1

* Mon Jul 18 2016 Dominika Krejci <> - 2.1.1-1
- Initial release