diff --git a/python-restfly.spec b/python-restfly.spec index 9830f348affe8fbf00a7fca3c64634b3eb0c22e7..a06032046e4271d491a8c282da69f005636b0534 100644 --- a/python-restfly.spec +++ b/python-restfly.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-restfly -Version: 1.3.5 +Version: 1.5.1 Release: 1 Summary: A simple framework for building RESTful API libraries License: MIT URL: https://github.com/stevemcgrath/restfly -Source0: https://files.pythonhosted.org/packages/3b/05/f7bc7fca981fb2fecb63b75fabb8c090c933cdd7b0dd198ef3f0f17d5605/restfly-1.3.5.tar.gz +Source0: %{url}/archive/%{version}/restfly-%{version}.tar.gz BuildArch: noarch %global _description\ @@ -26,6 +26,8 @@ Summary: A simple framework for building RESTful API libraries Provides: python-restfly BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel %description -n python3-restfly %_description %package help @@ -34,13 +36,13 @@ Provides: python3-restfly-doc %description help %_description %prep -%autosetup -n restfly-1.3.5 +%autosetup -n restfly-1.5.1 %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 @@ -68,11 +70,21 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-restfly -f filelist.lst -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Fri Nov 28 2025 Xu Jin - 1.5.1-1 +- Upgrade to 1.5.1 +- Reformatted code using ruff +- Switched the pipelining to uv +- Switched deployment to using uv +- Changed the documentation theme to furo +- Improved the `dict_flatten()` based on feedback from users +- Refactored base iterator based off of work done with pyTenable's GQL implimentation. +- Updated errors to include the associated status code in docs. + * Thu Sep 03 2020 Python_Bot - Package Spec generated diff --git a/restfly-1.3.5.tar.gz b/restfly-1.3.5.tar.gz deleted file mode 100644 index 21dbf37763b26edacea8e2f543018b088019f5d7..0000000000000000000000000000000000000000 Binary files a/restfly-1.3.5.tar.gz and /dev/null differ diff --git a/restfly-1.5.1.tar.gz b/restfly-1.5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..18109431b34e4df4cddea002b1068d28f346eb5c Binary files /dev/null and b/restfly-1.5.1.tar.gz differ