diff --git a/ntc_templates-4.4.0.tar.gz b/ntc_templates-4.4.0.tar.gz deleted file mode 100644 index 527e86e969921973188d79c2556842380a7164a9..0000000000000000000000000000000000000000 Binary files a/ntc_templates-4.4.0.tar.gz and /dev/null differ diff --git a/ntc_templates-5.0.0.tar.gz b/ntc_templates-5.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..12d66e5d5031918da79d78e637496bfd3bca9acb Binary files /dev/null and b/ntc_templates-5.0.0.tar.gz differ diff --git a/python-ntc-templates.spec b/python-ntc-templates.spec index 93d18ea91e9de737e7a7a33f670d4d6b5a755cd5..80a3c7a31128fd2ae5c562ae324090ff0adcb6e4 100644 --- a/python-ntc-templates.spec +++ b/python-ntc-templates.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-ntc-templates -Version: 4.4.0 +Version: 5.0.0 Release: 1 Summary: TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable. License: Apache-2.0 URL: https://github.com/networktocode/ntc-templates -Source0: https://files.pythonhosted.org/packages/fe/a6/903ec6a1de234dd3dd4a448ec91e038a96eb1036f8f8da807c2614d5b0d0/ntc_templates-4.4.0.tar.gz +Source0: https://files.pythonhosted.org/packages/69/da/31a8500430f3527f82423499dfe89bc03624aa2af0baa89802c3b883e05c/ntc_templates-5.0.0.tar.gz BuildArch: noarch %description TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable. @@ -21,6 +21,7 @@ BuildRequires: python3-pip BuildRequires: python3-wheel # General requires BuildRequires: python3-textfsm +BuildRequires: python3-poetry-core # General requires Requires: python3-textfsm %description -n python3-ntc-templates @@ -36,10 +37,10 @@ TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable %autosetup -n ntc_templates-%{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 @@ -67,8 +68,8 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%check -%{__python3} setup.py test +#%check +#%{__python3} setup.py test %files -n python3-ntc-templates -f filelist.lst %dir %{python3_sitelib}/* @@ -77,6 +78,10 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Jul 07 2025 liudy - 5.0.0-1 +- update to 5.0.0 +- Skipped %%check section as upstream tarball does not include tests + * Tue Apr 02 2024 wangqiang - 4.4.0-1 - Update package to version 4.4.0