diff --git a/mongoengine-0.24.2.tar.gz b/mongoengine-0.24.2.tar.gz deleted file mode 100644 index 65bfa7017d8ace5ebb39da8dbba887881f0af508..0000000000000000000000000000000000000000 Binary files a/mongoengine-0.24.2.tar.gz and /dev/null differ diff --git a/mongoengine-0.26.0.tar.gz b/mongoengine-0.26.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..08fcf91b5c05316af6bb8af033b5b13cc190f604 Binary files /dev/null and b/mongoengine-0.26.0.tar.gz differ diff --git a/python-mongoengine.spec b/python-mongoengine.spec index 4a4311415c5ed7870fa284a1e0b898fed3d8cf1e..9cfc0245689b778771342e27debd150061b08c5a 100644 --- a/python-mongoengine.spec +++ b/python-mongoengine.spec @@ -1,34 +1,33 @@ %global _empty_manifest_terminate_build 0 Name: python-mongoengine -Version: 0.24.2 +Version: 0.26.0 Release: 1 Summary: MongoEngine is a Python Object-Document Mapper for working with MongoDB. License: MIT URL: https://github.com/MongoEngine/mongoengine -Source0: https://files.pythonhosted.org/packages/75/35/79f4cd5a939a26a058c0abdf9bde1fa707a215cb92d2e04cfd83e0eb591b/mongoengine-0.24.2.tar.gz +Source0: https://files.pythonhosted.org/packages/9f/75/be87b1c2a055ecc21ec0b79e14dcec44c56ef41688066f6e98acddebb8ea/mongoengine-0.26.0.tar.gz BuildArch: noarch -Requires: python3-pymongo - %description -MongoEngine is a Python Object-Document Mapper for working with MongoDB. +MongoEngine is a Python Object-Document Mapper for working with MongoDB. %package -n python3-mongoengine Summary: MongoEngine is a Python Object-Document Mapper for working with MongoDB. -Provides: python-mongoengine +Provides: python-mongoengine = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +Requires: python3-pymongo %description -n python3-mongoengine -MongoEngine is a Python Object-Document Mapper for working with MongoDB. +MongoEngine is a Python Object-Document Mapper for working with MongoDB. %package help Summary: Development documents and examples for mongoengine Provides: python3-mongoengine-doc %description help -MongoEngine is a Python Object-Document Mapper for working with MongoDB. +MongoEngine is a Python Object-Document Mapper for working with MongoDB. %prep -%autosetup -n mongoengine-0.24.2 +%autosetup -n mongoengine-%{version} %build %py3_build @@ -40,6 +39,9 @@ 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 +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -68,9 +70,11 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Feb 08 2023 wangjunqi - 0.26.0-1 +- Update package to version 0.26.0 + * Tue Aug 02 2022 fushanqing - 0.24.2-1 - update to 0.24.2 * Fri Dec 17 2021 Python_Bot - 0.23.1-1 - Package Init -