From 11341ed9a6944a7e9aa716ff0dc69a51bfff34de Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jul 26 2022 07:42:07 +0000 Subject: Update to 4.1.1 Related-to: https://review.rdoproject.org/r/q/I06c253befb32a37e3543d062135d507788ae3b85 --- diff --git a/.python-netmiko.metadata b/.python-netmiko.metadata new file mode 100644 index 0000000..57be303 --- /dev/null +++ b/.python-netmiko.metadata @@ -0,0 +1 @@ +74177cfcbb15e723b4c78b92a61f30ede7e3ebd1 SOURCES/netmiko-4.1.1.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-netmiko.spec b/SPECS/python-netmiko.spec new file mode 100644 index 0000000..f3824ef --- /dev/null +++ b/SPECS/python-netmiko.spec @@ -0,0 +1,165 @@ +%global srcname netmiko +%global sum Multi-vendor library to simplify Paramiko SSH connections to network devices + +Name: python-%{srcname} +Version: 4.1.1 +Release: 1%{?dist} +Summary: %{sum} + +License: MIT and ASL 2.0 +URL: https://pypi.org/project/%{srcname} +Source0: https://files.pythonhosted.org/packages/source/n/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +%{sum} + +%package -n python3-%{srcname} +Summary: %{sum} +BuildRequires: python3-devel +Requires: python3-paramiko >= 2.6.0 +Requires: python3-scp >= 0.13.2 +Requires: python3-pyserial +Requires: python3-tenacity +Requires: python3-textfsm +# For import test, keep the same as requirements +BuildRequires: python3-paramiko +BuildRequires: python3-scp +BuildRequires: python3-pyserial +BuildRequires: python3-tenacity +BuildRequires: python3-textfsm +BuildRequires: python3-setuptools + +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +%{sum} - package for Python 3. + +# FIXME: build the documentation, when upstream starts shipping its sources: +# https://github.com/ktbyers/netmiko/issues/507 + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +# FIXME: run unit tests, when/if upstream creates them: +# https://github.com/ktbyers/netmiko/issues/509 +%{__python3} -c "from netmiko import ConnectHandler" + +%files -n python3-%{srcname} +%{_bindir}/netmiko-cfg +%{_bindir}/netmiko-grep +%{_bindir}/netmiko-show +%license LICENSE +%doc README.md +%{python3_sitelib}/* + + +%changelog +* Mon Jul 25 2022 Karolina Kula - 4.1.1-1 +- Update to version 4.1.1 +- Remove ntc-templates removing sed +- Add generated executables to files + +* Fri Jul 22 2022 Fedora Release Engineering - 3.3.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 3.3.3-6 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.3.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 3.3.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.3.3-3 +- Rebuilt for Python 3.10 + +* Wed Feb 10 2021 Dmitry Tantsur - 3.3.3-2 +- Fix missing dependency (#1927400) + +* Tue Feb 09 2021 Joel Capitao - 3.3.3-1 +- Update to 3.3.3 (#1791581) + +* Wed Jan 27 2021 Fedora Release Engineering - 3.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Sep 09 2020 Yatin Karel - 3.3.0-1 +- Update to 3.3.0 (#1791581) + +* Sun Aug 30 2020 Dmitry Tantsur - 3.2.0-1 +- Update to 3.2.0 (#1791581) + +* Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 3.0.0-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 16 2020 Dmitry Tantsur - 3.0.0-1 +- Update to 3.0.0 (#1791581) + +* Tue Dec 03 2019 Dmitry Tantsur - 2.4.2-1 +- Update to 2.4.2 (#1727660) + +* Thu Oct 03 2019 Miro Hrončok - 2.3.3-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 2.3.3-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Mar 11 2019 Dmitry Tantsur - 2.3.3-1 +- Update to 2.3.3 + +* Mon Feb 11 2019 Yatin Karel - 2.3.0-1 +- Update to 2.3.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 2.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Sep 10 2018 Dmitry Tantsur - 2.2.2-2 +- Disable Python 2 subpackage for Fedora (rhbz#1627402) + +* Thu Jul 19 2018 Dmitry Tantsur - 2.2.2-1 +- Update to 2.2.2 (rhbz#1559654) + +* Tue Jul 17 2018 Dmitry Tantsur - 2.1.1-1 +- Update to 2.1.1 + +* Sat Jul 14 2018 Fedora Release Engineering - 2.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 2.1.0-2 +- Rebuilt for Python 3.7 + +* Fri Mar 16 2018 Alan Pevec 2.1.0-1 +- Update to 2.1.0 (rhbz#1532228) + +* Fri Feb 09 2018 Fedora Release Engineering - 1.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jan 4 2018 Dmitry Tantsur - 1.4.3-1 +- Update to 1.4.3 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 24 2017 Dmitry Tantsur - 1.4.2-1 +- Update to 1.4.2 + +* Mon Jul 24 2017 Dmitry Tantsur - 1.4.1-1 +- Initial packaging (#1465006)