Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ollama for openSUSE:Factory checked 
in at 2024-07-19 15:27:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ollama (Old)
 and      /work/SRC/openSUSE:Factory/.ollama.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ollama"

Fri Jul 19 15:27:51 2024 rev:13 rq:1188404 version:0.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ollama/ollama.changes    2024-07-15 
19:49:51.660971428 +0200
+++ /work/SRC/openSUSE:Factory/.ollama.new.17339/ollama.changes 2024-07-19 
15:28:07.953085982 +0200
@@ -1,0 +2,19 @@
+Thu Jul 18 13:09:10 UTC 2024 - Eyad Issa <eyadlore...@gmail.com>
+
+- Fixed issue with shared libraries 
+
+-------------------------------------------------------------------
+Thu Jul 18 12:27:54 UTC 2024 - Eyad Issa <eyadlore...@gmail.com>
+
+- Added %check section
+- Use -v when building 
+
+- Update to version 0.2.6:
+  * New models: MathΣtral is a 7B model designed for math 
+    reasoning and scientific discovery by Mistral AI.
+  * Fixed issue where uppercase roles such as USER would no longer
+    work in the chat endpoints
+  * Fixed issue where empty system message would be included in the
+    prompt
+
+-------------------------------------------------------------------

Old:
----
  ollama-0.2.5.obscpio

New:
----
  ollama-0.2.6.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ollama.spec ++++++
--- /var/tmp/diff_new_pack.WU3OQi/_old  2024-07-19 15:28:11.185214586 +0200
+++ /var/tmp/diff_new_pack.WU3OQi/_new  2024-07-19 15:28:11.185214586 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           ollama
-Version:        0.2.5
+Version:        0.2.6
 Release:        0
 Summary:        Tool for running AI models on-premise
 License:        MIT
@@ -28,17 +28,16 @@
 Source3:        %{name}-user.conf
 Patch0:         enable-lto.patch
 BuildRequires:  cmake >= 3.24
+BuildRequires:  git
+BuildRequires:  sysuser-tools
+BuildRequires:  zstd
+BuildRequires:  golang(API) >= 1.22
+%sysusers_requires
 %if 0%{?sle_version} == 150600
 BuildRequires:  gcc12-c++
 %else
 BuildRequires:  gcc-c++ >= 11.4.0
 %endif
-BuildRequires:  git
-BuildRequires:  sysuser-tools
-BuildRequires:  zstd
-BuildRequires:  golang(API) >= 1.22
-
-%{sysusers_requires}
 
 %description
 Ollama is a tool for running AI models on one's own hardware.
@@ -67,16 +66,19 @@
 export OLLAMA_SKIP_PATCHING=1
 
 go generate ./...
-go build .
+go build -v .
 
 %install
 install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
 install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}-user.conf
-install -d %{buildroot}/var/lib/%{name}
+install -d %{buildroot}%{_localstatedir}/lib/%{name}
+
+mkdir -p "%{buildroot}/%{_docdir}/%{name}"
+cp -Ra docs/* "%{buildroot}/%{_docdir}/%{name}"
 
-mkdir -p "%buildroot/%_docdir/%name"
-cp -Ra docs/* "%buildroot/%_docdir/%name"
+%check
+go test ./...
 
 %pre -f %{name}.pre
 %service_add_pre %{name}.service
@@ -97,5 +99,5 @@
 %{_bindir}/%{name}
 %{_unitdir}/%{name}.service
 %{_sysusersdir}/%{name}-user.conf
-%attr(-, ollama, ollama) /var/lib/%{name}
+%attr(-, ollama, ollama) %{_localstatedir}/lib/%{name}
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.WU3OQi/_old  2024-07-19 15:28:11.217215859 +0200
+++ /var/tmp/diff_new_pack.WU3OQi/_new  2024-07-19 15:28:11.221216019 +0200
@@ -3,7 +3,7 @@
   <service name="obs_scm" mode="manual">
     <param name="url">https://github.com/ollama/ollama.git</param>
     <param name="scm">git</param>
-    <param name="revision">v0.2.5</param>
+    <param name="revision">v0.2.6</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.WU3OQi/_old  2024-07-19 15:28:11.237216655 +0200
+++ /var/tmp/diff_new_pack.WU3OQi/_new  2024-07-19 15:28:11.241216815 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/ollama/ollama.git</param>
-              <param 
name="changesrevision">f7ee0123008dbdb3fd5954438d12196951b58b78</param></service></servicedata>
+              <param 
name="changesrevision">b2554455572b28c0e18423d6fe6896cf7137dbd6</param></service></servicedata>
 (No newline at EOF)
 

++++++ enable-lto.patch ++++++
--- /var/tmp/diff_new_pack.WU3OQi/_old  2024-07-19 15:28:11.253217292 +0200
+++ /var/tmp/diff_new_pack.WU3OQi/_new  2024-07-19 15:28:11.257217451 +0200
@@ -22,7 +22,7 @@
          # -DGGML_AVX512_VNNI -- 2021 Intel Alder Lake
  
          COMMON_CPU_DEFS="-DBUILD_SHARED_LIBS=off 
-DCMAKE_POSITION_INDEPENDENT_CODE=on -DGGML_NATIVE=off -DGGML_OPENMP=off"
-+        COMMON_CPU_DEFS="-DGGML_LTO=on -DCMAKE_BUILD_TYPE=Release"
++        COMMON_CPU_DEFS="${COMMON_CPU_DEFS} -DGGML_LTO=on 
-DCMAKE_BUILD_TYPE=Release"
          if [ -z "${OLLAMA_CPU_TARGET}" -o "${OLLAMA_CPU_TARGET}" = "cpu" ]; 
then
              #
              # CPU first for the default library, set up as lowest common 
denominator for maximum compatibility (including Rosetta)

++++++ ollama-0.2.5.obscpio -> ollama-0.2.6.obscpio ++++++
/work/SRC/openSUSE:Factory/ollama/ollama-0.2.5.obscpio 
/work/SRC/openSUSE:Factory/.ollama.new.17339/ollama-0.2.6.obscpio differ: char 
50, line 1

++++++ ollama.obsinfo ++++++
--- /var/tmp/diff_new_pack.WU3OQi/_old  2024-07-19 15:28:11.305219361 +0200
+++ /var/tmp/diff_new_pack.WU3OQi/_new  2024-07-19 15:28:11.305219361 +0200
@@ -1,5 +1,5 @@
 name: ollama
-version: 0.2.5
-mtime: 1720908480
-commit: f7ee0123008dbdb3fd5954438d12196951b58b78
+version: 0.2.6
+mtime: 1721255711
+commit: b2554455572b28c0e18423d6fe6896cf7137dbd6
 

++++++ vendor.tar.zstd ++++++
Binary files /var/tmp/diff_new_pack.WU3OQi/_old and 
/var/tmp/diff_new_pack.WU3OQi/_new differ

Reply via email to