diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..f087b429e2f81a9f37b28a8308e2210f84df6c9b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..a3c5e24f8886792f28c4a5946c69c49ba23cd354 --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/zhouweitong3/euler-copilot-framework_rpm \ No newline at end of file diff --git a/ollama-0.4.8.tar.gz b/ollama-0.4.8.tar.gz deleted file mode 100644 index 8e95d9d722556d6ea345da40f7eb7f9697a6436e..0000000000000000000000000000000000000000 Binary files a/ollama-0.4.8.tar.gz and /dev/null differ diff --git a/ollama-0.6.1.tar.gz b/ollama-0.6.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b8ed8023bb1dc7a3e8bb86efe20f3f7f584bf4d7 --- /dev/null +++ b/ollama-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:478c67546836430034b415ed64fa890fd3d1ff91781a9d548b3325274e69d7c6 +size 51620 diff --git a/python-ollama.spec b/python-ollama.spec index 8dc23ea59dd867682931e8c0fa86b7ea1dfd31a4..0c6a101a8704d4cadaa13d5c06e1d7974b281a04 100644 --- a/python-ollama.spec +++ b/python-ollama.spec @@ -1,15 +1,15 @@ %global _empty_manifest_terminate_build 0 Name: python-ollama -Version: 0.4.8 +Version: 0.6.1 Release: 1 Summary: The official Python client for Ollama. License: MIT URL: https://ollama.com -Source0: https://files.pythonhosted.org/packages/e2/64/709dc99030f8f46ec552f0a7da73bbdcc2da58666abfec4742ccdb2e800e/ollama-0.4.8.tar.gz +Source0: %{pypi_source ollama} BuildArch: noarch -Requires: (python3-httpx<0.29 with python3-httpx>=0.27) -Requires: (python3-pydantic<3.0.0 with python3-pydantic>=2.9.0) +Requires: python3-httpx>=0.27 +Requires: python3-pydantic>=2.9.0 %description # Ollama Python Library @@ -24,13 +24,14 @@ BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-poetry-core +BuildRequires: python3-hatchling %description -n python3-ollama # Ollama Python Library The Ollama Python library provides the easiest way to integrate Python 3.8+ projects with [Ollama](https://github.com/ollama/ollama). %prep -%autosetup -n ollama-0.4.8 +%autosetup -n ollama-%{version} %build %pyproject_build @@ -66,5 +67,7 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Dec 11 2025 Zhou Weitong - 0.6.1-1 +- Update version * Wed May 07 2025 Python_Bot - 0.4.8-1 - Package Spec generated