Fix install chdir to match the build chdir

This commit is contained in:
Jason Rothstein 2019-07-28 16:55:06 -05:00
parent d247ed47ee
commit a93b603ae4

View File

@ -2,7 +2,7 @@ ExclusiveArch: %{go_arches}
Name: gitea
Version: 1.8.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Go GIT Server
License: MIT
@ -80,7 +80,7 @@ sed -i \
%install
rm -rf %{buildroot}
cd src/github.com/gitea/gitea
cd src/code.gitea.io/gitea
%{__install} -d %{buildroot}%{_bindir}
%{__install} -d %{buildroot}%{_sysconfdir}/gitea
%{__install} -d %{buildroot}/usr/lib/systemd/system