From 02f794df7993761fba807fe2f1c4d5301aff8196 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:03:51 +0100 Subject: [PATCH] fixed service file name [release 1.21.3-2mamba;Thu Dec 28 2023] --- gitea.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gitea.spec b/gitea.spec index 88a4e3e..041b15e 100644 --- a/gitea.spec +++ b/gitea.spec @@ -1,6 +1,6 @@ Name: gitea Version: 1.21.3 -Release: 1mamba +Release: 2mamba Summary: Painless self-hosted Git service, community managed Group: System/Servers Vendor: openmamba @@ -28,7 +28,10 @@ Painless self-hosted all-in-one software development service, including Git host %setup -q #-D -T #:<< _EOF -make deps +# Workaround for poetry stuck in infinite processes +#poetry cache clear --all . + +#make deps %build export EXTRA_GOFLAGS="-buildmode=pie -mod=readonly -modcacherw" @@ -43,7 +46,7 @@ export TAGS="bindata sqlite sqlite_unlock_notify pam" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" #% makeinstall install -D -m755 gitea %{buildroot}%{_bindir}/gitea -install -D -m644 %{SOURCE1} %{buildroot}%{_unitdir}/gitea.serivce +install -D -m644 %{SOURCE1} %{buildroot}%{_unitdir}/gitea.service install -D -m644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/gitea.conf install -D -m644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gitea.conf install -D -m644 custom/conf/app.example.ini %{buildroot}%{_sysconfdir}/gitea/app.ini @@ -72,11 +75,14 @@ install -D -m644 custom/conf/app.example.ini %{buildroot}%{_sysconfdir}/gitea/ap %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/gitea/app.ini %{_bindir}/gitea -%{_unitdir}/gitea.serivce +%{_unitdir}/gitea.service %{_sysusersdir}/gitea.conf %{_tmpfilesdir}/gitea.conf %doc LICENSE %changelog +* Thu Dec 28 2023 Silvan Calarco 1.21.3-2mamba +- fixed service file name + * Wed Dec 27 2023 Silvan Calarco 1.21.3-1mamba - package created using the webbuild interface