Don't package non-existant conf dir
This commit is contained in:
parent
a93b603ae4
commit
3b10adce9d
@ -2,7 +2,7 @@ ExclusiveArch: %{go_arches}
|
||||
|
||||
Name: gitea
|
||||
Version: 1.8.0
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Go GIT Server
|
||||
|
||||
License: MIT
|
||||
@ -87,7 +87,6 @@ cd src/code.gitea.io/gitea
|
||||
%{__install} -d %{buildroot}/var/lib/gitea
|
||||
%{__install} -d %{buildroot}/var/log/gitea
|
||||
%{__install} -p -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
%{__cp} -rp conf %{buildroot}%{_sysconfdir}/gitea/
|
||||
%{__install} -p -m 0644 contrib/systemd/gitea.service %{buildroot}/usr/lib/systemd/system/gitea.service
|
||||
%{__cp} -rp templates %{buildroot}/var/lib/gitea/
|
||||
%{__cp} -rp public %{buildroot}/var/lib/gitea/
|
||||
|
Loading…
x
Reference in New Issue
Block a user