# # spec file for package python-jsonrpclib-pelix # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jsonrpclib-pelix Version: 0 Release: 0 Summary: JSPN-RPC over HTTP Library for Pelix Remote Services License: Apache-2.0 Group: Development/Libraries/Python Url: https://github.com/tcalmant/jsonrpclib/ Source: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: %{python_module base} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages %description A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax. %prep %setup -q %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %python_files %defattr(-,root,root,-) %{python_sitelib}/* %doc LICENSE.txt README.rst %changelog