diff --git a/ollama.changes b/ollama.changes index 0ddbbf4..3db94e0 100644 --- a/ollama.changes +++ b/ollama.changes @@ -1,5 +1,8 @@ ------------------------------------------------------------------- -Thu Jul 18 12:11:08 UTC 2024 - Eyad Issa +Thu Jul 18 12:27:54 UTC 2024 - Eyad Issa + +- Added %check section +- Use -v when building - Update to version 0.2.6: * New models: MathΣtral is a 7B model designed for math diff --git a/ollama.spec b/ollama.spec index f42a529..642dd45 100644 --- a/ollama.spec +++ b/ollama.spec @@ -66,7 +66,7 @@ export GOFLAGS="-mod=vendor" export OLLAMA_SKIP_PATCHING=1 go generate ./... -go build . +go build -v . %install install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name} @@ -77,6 +77,9 @@ install -d %{buildroot}%{_localstatedir}/lib/%{name} mkdir -p "%{buildroot}/%{_docdir}/%{name}" cp -Ra docs/* "%{buildroot}/%{_docdir}/%{name}" +%check +go test ./... + %pre -f %{name}.pre %service_add_pre %{name}.service