diff --git a/netmiko-4.3.0.tar.gz b/netmiko-4.3.0.tar.gz deleted file mode 100644 index af58d0a2fe46e7765f0b8c7ebb3d7ff183e5a192..0000000000000000000000000000000000000000 Binary files a/netmiko-4.3.0.tar.gz and /dev/null differ diff --git a/netmiko-4.6.0.tar.gz b/netmiko-4.6.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5a891f8d30c73e5ac69687bfb4d7f7e06cbb52d9 Binary files /dev/null and b/netmiko-4.6.0.tar.gz differ diff --git a/python-netmiko.spec b/python-netmiko.spec index 0a6df2145cc6c2a3be68116a8382e4dbe1cff15f..8ca70ea709aab4fbe870e55fcf880f205ec56d0f 100644 --- a/python-netmiko.spec +++ b/python-netmiko.spec @@ -3,12 +3,12 @@ Multi-vendor library to simplify Paramiko SSH connections to network devices Name: python-netmiko -Version: 4.3.0 +Version: 4.6.0 Release: 1 Summary: Multi-vendor library to simplify legacy CLI connections to network devices License: MIT URL: https://github.com/ktbyers/netmiko -Source0: https://files.pythonhosted.org/packages/46/c5/fbc99404d15ec3c447fbb5a2e4a44eabee0ec9991a7246d8d80480766e82/netmiko-4.3.0.tar.gz +Source0: https://files.pythonhosted.org/packages/df/0a/4d557ffd4070a47f87c3e07abd28f9fcbdbf799f2a62940168236b4a8d31/netmiko-4.6.0.tar.gz BuildArch: noarch %description %{common_description} @@ -29,6 +29,7 @@ BuildRequires: python3-pyserial BuildRequires: python3-pyyaml BuildRequires: python3-scp BuildRequires: python3-textfsm +BuildRequires: python3-poetry-core # General requires Requires: python3-ntc-templates Requires: python3-paramiko @@ -49,47 +50,46 @@ Provides: python3-netmiko-doc %autosetup -n netmiko-%{version} %build -%py3_build +%pyproject_build %install -%py3_install - +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi +touch filelist.lst if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -#%check -#%{__python3} setup.py test - %files -n python3-netmiko -f filelist.lst -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Nov 11 2025 liutao - 4.6.0-1 +- Update package to version 4.6.0 +- Add driver for Bintec/Funkwerk +- Updating the poetry version backend + * Tue Apr 02 2024 wangqiang - 4.3.0-1 - Update package to version 4.3.0