e36b66
%global srcname scp
e36b66
%global pypi_name scp
e36b66
rdobuilder 19b540
Name:    python-%{srcname}
rdobuilder 19b540
Version: 0.14.1
rdobuilder 19b540
Release: 1%{?dist}
rdobuilder 19b540
Summary: Scp module for paramiko
e36b66
rdobuilder 19b540
License: LGPLv2+
rdobuilder 19b540
URL:     https://github.com/jbardin/scp.py
rdobuilder 19b540
Source0: https://pypi.python.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
e36b66
rdobuilder 19b540
BuildArch: noarch
e36b66
e36b66
e36b66
%description
e36b66
The scp.py module uses a paramiko transport to send and receive files via the
e36b66
scp1 protocol. This is the protocol as referenced from the openssh scp program,
e36b66
and has only been tested with this implementation.
e36b66
e36b66
%package -n     python%{python3_pkgversion}-%{pypi_name}
e36b66
Summary:        scp module for paramiko
e36b66
BuildRequires:  python%{python3_pkgversion}-setuptools
e36b66
BuildRequires:  python%{python3_pkgversion}-devel
e36b66
# For tests
e36b66
BuildRequires: python%{python3_pkgversion}-paramiko
e36b66
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
e36b66
e36b66
Requires:       python%{python3_pkgversion}-paramiko
e36b66
%description -n python%{python3_pkgversion}-%{pypi_name}
e36b66
The scp.py module uses a paramiko transport to send and receive files via the
e36b66
scp1 protocol. This is the protocol as referenced from the openssh scp program,
e36b66
and has only been tested with this implementation.
e36b66
e36b66
%prep
e36b66
%setup -q -n %{srcname}-%{version}
e36b66
rm -r %{srcname}.egg-info
e36b66
e36b66
%build
e36b66
%py3_build
e36b66
e36b66
%install
e36b66
%py3_install
e36b66
rdobuilder 19b540
# %check
e36b66
# Tests fail without open local ssh server
e36b66
#{__python3} setup.py test
e36b66
e36b66
%files -n python%{python3_pkgversion}-%{pypi_name}
e36b66
%doc README.rst PKG-INFO
e36b66
%license LICENSE.txt
e36b66
%{python3_sitelib}/__pycache__/*
e36b66
%{python3_sitelib}/%{pypi_name}.py
e36b66
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
e36b66
e36b66
%changelog
rdobuilder 19b540
* Wed Sep 29 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 0.14.1-1
rdobuilder 19b540
- Update to version 0.14.1 (#2003334)
e36b66
rdobuilder 19b540
* Thu Sep 09 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 0.14.0-1
rdobuilder 19b540
- Update to version 0.14.0 (#2002139)
e36b66
rdobuilder 19b540
* Tue Aug 03 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 0.13.6-1
rdobuilder 19b540
- Update to version 0.13.6 (#1977176)
e36b66
e36b66
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-8
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e36b66
e36b66
* Fri Jul 10 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.2.2-5
e36b66
- Replace Python version globs with macros to support python 3.10
e36b66
e36b66
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.2-6
e36b66
- Rebuilt for Python 3.9
e36b66
e36b66
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-5
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e36b66
e36b66
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.2-4
e36b66
- Rebuilt for Python 3.8.0rc1 (#1748018)
e36b66
e36b66
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.2-3
e36b66
- Rebuilt for Python 3.8
e36b66
e36b66
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-2
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e36b66
e36b66
* Tue Apr  2 2019 Orion Poplawski <orion@cora.nwra.com> - 0.13.2-1
e36b66
- Update to 0.13.2
e36b66
e36b66
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e36b66
e36b66
* Sun Oct 07 2018 Orion Poplawski <orion@cora.nwra.com> - 0.11.0-1
e36b66
- Update to 0.11.0
e36b66
- Drop Python 2 package for Fedora 30+ (bugz #1631310)
e36b66
e36b66
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-10
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e36b66
e36b66
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-9
e36b66
- Rebuilt for Python 3.7
e36b66
e36b66
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.2-8
e36b66
- Update Python 2 dependency declarations to new packaging standards
e36b66
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e36b66
e36b66
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-7
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e36b66
e36b66
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-6
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e36b66
e36b66
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-5
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e36b66
e36b66
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-4
e36b66
- Rebuild for Python 3.6
e36b66
e36b66
* Wed Nov 16 2016 Ben Rosser <rosser.bjr@gmail.com> - 0.10.2-3
e36b66
- Remove ownership of python3_sitelib/__pycache__ from the python3 subpackage.
e36b66
e36b66
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-2
e36b66
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e36b66
e36b66
* Tue May 03 2016 Ben Rosser <rosser.bjr@gmail.com> - 0.10.2-1
e36b66
- Updated package to latest upstream version.
e36b66
- Modernized spec file.
e36b66
- Added support for Python 3.
e36b66
e36b66
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e36b66
e36b66
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-5
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e36b66
e36b66
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4
e36b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e36b66
e36b66
* Wed Feb 19 2014 Orion Poplawski <orion@cora.nwra.com> - 0.7.1-3
e36b66
- Add missing BR python-paramiko for tests
e36b66
e36b66
* Wed Feb 19 2014 Orion Poplawski <orion@cora.nwra.com> - 0.7.1-2
e36b66
- Add missing BR python-setuptools
e36b66
- Other minor cleanup
e36b66
- Add %%check
e36b66
e36b66
* Fri Feb 14 2014 Orion Poplawski <orion@cora.nwra.com> - 0.7.1-1
e36b66
- Initial package