From a93b603ae4d29824bcc2d2ad9c6068e2938ad9ff Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 28 Jul 2019 16:55:06 -0500 Subject: [PATCH] Fix install chdir to match the build chdir --- gitea.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitea.spec b/gitea.spec index 1fd42f4..eff8a95 100644 --- a/gitea.spec +++ b/gitea.spec @@ -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