diff --git a/pynetbox-7.0.1.tar.gz b/pynetbox-7.0.1.tar.gz deleted file mode 100644 index 6219c66..0000000 --- a/pynetbox-7.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eba8b5153ca575bc45f39ade1119b9f0a218c83947f84c4bb2df7fc9de4ffa9a -size 63554 diff --git a/pynetbox-7.1.0.tar.gz b/pynetbox-7.1.0.tar.gz new file mode 100644 index 0000000..90f3c21 --- /dev/null +++ b/pynetbox-7.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:025b7a7c1b297673d0b37691b846c038a5954d495abe0cfcec247cd4f92f5a1e +size 64278 diff --git a/python-pynetbox.changes b/python-pynetbox.changes index d7da4f1..1718101 100644 --- a/python-pynetbox.changes +++ b/python-pynetbox.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Aug 30 09:18:50 UTC 2023 - Matej Cepl + +- Clean up the SPEC file + +------------------------------------------------------------------- +Tue Aug 29 15:03:55 UTC 2023 - Martin Hauke + +- Update to version 7.1.0 + * Add support for NetBox v3.5. + ------------------------------------------------------------------- Mon Jan 23 21:56:39 UTC 2023 - Martin Hauke diff --git a/python-pynetbox.spec b/python-pynetbox.spec index 6b48bf0..a02ff27 100644 --- a/python-pynetbox.spec +++ b/python-pynetbox.spec @@ -18,7 +18,7 @@ %define skip_python2 1 Name: python-pynetbox -Version: 7.0.1 +Version: 7.1.0 Release: 0 Summary: NetBox API client library License: Apache-2.0 @@ -27,13 +27,14 @@ URL: https://github.com/digitalocean/pynetbox Source: https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-%{version}.tar.gz BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module netaddr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-netaddr +Requires: python-packaging Requires: python-requests >= 2.20.0 BuildArch: noarch %python_subpackages @@ -42,13 +43,13 @@ BuildArch: noarch Python API client library for NetBox. %prep -%setup -q -n pynetbox-%{version} +%autosetup -p1 -n pynetbox-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # remove testsuite from sitelib %python_expand rm -rf %{buildroot}%{$python_sitelib}/tests @@ -59,6 +60,7 @@ Python API client library for NetBox. %files %{python_files} %doc README.md CHANGELOG.md %license LICENSE -%{python_sitelib}/pynetbox* +%{python_sitelib}/pynetbox +%{python_sitelib}/pynetbox-%{version}*-info %changelog