diff --git a/.gitignore b/.gitignore index 720584e..5067761 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /parallel-ssh-0.80.1.tar.gz /parallel-ssh-0.80.3.tar.gz /parallel-ssh-0.91.2.tar.gz +/parallel-ssh-1.9.1.tar.gz diff --git a/python-parallel-ssh.spec b/python-parallel-ssh.spec index 493baca..2f9c118 100644 --- a/python-parallel-ssh.spec +++ b/python-parallel-ssh.spec @@ -1,14 +1,14 @@ -%global modname parallel-ssh -%global _docdir_fmt %{name} +%global srcname parallel-ssh -Name: python-%{modname} -Version: 0.91.2 -Release: 11%{?dist} +Name: python-%{srcname} +Version: 1.9.1 +Release: 1%{?dist} Summary: Asynchronous parallel SSH library +# https://github.com/ParallelSSH/parallel-ssh/pull/179 License: LGPLv2 URL: https://parallel-ssh.readthedocs.io/ -Source0: https://github.com/pkittenis/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz +Source: %{pypi_source} BuildArch: noarch @@ -25,27 +25,21 @@ multi-threading/processing. %description %{_description} -%package -n python3-%{modname} +%package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools -# embedded_server and tests are not covered by use_2to3=True -BuildRequires: /usr/bin/2to3 -# Test deps -BuildRequires: python3-nose -BuildRequires: python3-gevent -BuildRequires: python3-paramiko -Requires: python3-gevent -Requires: python3-paramiko -%{?python_provide:%python_provide python3-%{modname}} - -%description -n python3-%{modname} %{_description} +BuildRequires: python3dist(cython) +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %{_description} Python 3 version. %prep -%autosetup -n %{modname}-%{version} -2to3 -w -n {embedded_server,tests}/ +%autosetup -n %{srcname}-%{version} +rm -vr *.egg-info/ +find -type f -name '*.c' -print -delete %build %py3_build @@ -53,18 +47,15 @@ Python 3 version. %install %py3_install -%check -pushd tests/ - PYTHONPATH=%{buildroot}%{python3_sitelib}:`pwd`/../ nosetests-3 -v -popd - -%files -n python3-%{modname} -%license COPYING +%files -n python3-%{srcname} %doc README.rst %{python3_sitelib}/pssh/ %{python3_sitelib}/parallel_ssh-*.egg-info/ %changelog +* Sun Jul 28 19:53:28 CEST 2019 Igor Gnatenko - 1.9.1-1 +- Update to 1.9.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.91.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index c8d3742..90fab64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -aace6820824ccedfe4bc5ff7dc99f5cf parallel-ssh-0.91.2.tar.gz +SHA512 (parallel-ssh-1.9.1.tar.gz) = 8c14c1766a49c4d96907c43b773c33fb386786bb8646f63bfda454e266dc340cf7688b5f18d57500c0819044b0da92eb3776a98a682b4546c1d9a50959eab460