fixed service file name [release 1.21.3-2mamba;Thu Dec 28 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 23:03:51 +01:00
parent a827ca489e
commit 02f794df79

View File

@ -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 <silvan.calarco@mambasoft.it> 1.21.3-2mamba
- fixed service file name
* Wed Dec 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.3-1mamba
- package created using the webbuild interface