diff --git a/neomodel-4.0.2.tar.gz b/neomodel-4.0.2.tar.gz deleted file mode 100644 index 197520987953c0d157a1c1c8a838271630645cf8..0000000000000000000000000000000000000000 Binary files a/neomodel-4.0.2.tar.gz and /dev/null differ diff --git a/neomodel-5.1.0.tar.gz b/neomodel-5.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..90ced5264ea501988cc8c545cabdcf7d9707ccb1 Binary files /dev/null and b/neomodel-5.1.0.tar.gz differ diff --git a/python-neomodel.spec b/python-neomodel.spec index eff8ed8bc914cc7962deb6dcba2937c0f83b645b..782e84554aece3efc09ee970afeda6b482cc5ca9 100644 --- a/python-neomodel.spec +++ b/python-neomodel.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 %global pypi_name neomodel Name: python-%{pypi_name} -Version: 4.0.2 +Version: 5.1.0 Release: 1 Summary: An object mapper for the neo4j graph database. License: MIT @@ -9,6 +9,9 @@ URL: http://github.com/neo4j-contrib/neomodel Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz BuildArch: noarch +BuildRequires: python3-pip +BuildRequires: python3-wheel + Requires: python3-neo4j-driver Requires: python3-pytz Requires: python3-neobolt @@ -36,10 +39,10 @@ An Object Graph Mapper (OGM) for the neo4j graph database, built on the awesome %autosetup -n %{pypi_name}-%{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 if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -68,10 +71,16 @@ mv %{buildroot}/doclist.lst . %files -n python3-neomodel -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/neomodel/* +%{python3_sitelib}/doc/* +%{python3_sitelib}/test/* %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Jul 31 2023 zhangchenglin - 5.1.0-1 +- Update package to version 5.1.0 + * Thu Jul 08 2021 wangqing - 4.0.4-1 - Package init