diff --git a/connexion-2.14.2.tar.gz b/connexion-2.14.2.tar.gz deleted file mode 100644 index b7392e701a83ebd7a53cc542c0aae3e3975748b3..0000000000000000000000000000000000000000 Binary files a/connexion-2.14.2.tar.gz and /dev/null differ diff --git a/connexion-3.2.0.tar.gz b/connexion-3.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f1a558fb79f9a65d5f3a954af2c5ebd950b6cf37 Binary files /dev/null and b/connexion-3.2.0.tar.gz differ diff --git a/python-connexion.spec b/python-connexion.spec index dead5e2c35399be536d6eab06eb61e921b89c294..22f497afc8b12cf8cf5b65f93ba3283311af01ae 100644 --- a/python-connexion.spec +++ b/python-connexion.spec @@ -1,17 +1,19 @@ %global _empty_manifest_terminate_build 0 Name: python-connexion -Version: 2.14.2 +Version: 3.2.0 Release: 1 Summary: Connexion - API first applications with OpenAPI/Swagger and Flask License: Apache-2.0 URL: https://github.com/spec-first/connexion -Source0: https://files.pythonhosted.org/packages/59/bd/b8028e687c3e8319b22a0ef0b598cf18ea343811d3831ad318676674372e/connexion-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/c/connexion/connexion-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-setuptools python3-clickclick python3-jsonschema BuildRequires: python3-requests python3-inflection python3-werkzeug python3-flask BuildRequires: python3-PyYAML python3-swagger-ui-bundle python3-flake8 +BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-poetry-core + %description Connexion is a framework that automagically handles HTTP requests based on `OpenAPI Specification`_ @@ -39,43 +41,27 @@ Development documents and examples for connexion %autosetup -n connexion-%{version} -p1 %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 -if [ -d usr/lib64 ]; then - 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 -fi -if [ -d usr/sbin ]; then - 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 -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-connexion -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-connexion +%{_bindir}/connexion +%{python3_sitelib}/connexion* + +%files help %{_docdir}/* %changelog +* Thu Feb 20 2025 xu_ping <707078654@qq.com> - 3.2.0-1 +- Upgrade to 3.2.0 + * Fri Jun 30 2023 sunhui - 2.14.2-1 - Upgrade to 2.14.2