Fix install chdir to match the build chdir
This commit is contained in:
parent
d247ed47ee
commit
a93b603ae4
@ -2,7 +2,7 @@ ExclusiveArch: %{go_arches}
|
|||||||
|
|
||||||
Name: gitea
|
Name: gitea
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Go GIT Server
|
Summary: Go GIT Server
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -80,7 +80,7 @@ sed -i \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
cd src/github.com/gitea/gitea
|
cd src/code.gitea.io/gitea
|
||||||
%{__install} -d %{buildroot}%{_bindir}
|
%{__install} -d %{buildroot}%{_bindir}
|
||||||
%{__install} -d %{buildroot}%{_sysconfdir}/gitea
|
%{__install} -d %{buildroot}%{_sysconfdir}/gitea
|
||||||
%{__install} -d %{buildroot}/usr/lib/systemd/system
|
%{__install} -d %{buildroot}/usr/lib/systemd/system
|
||||||
|
Loading…
x
Reference in New Issue
Block a user