Add version to gitea.
This commit is contained in:
parent
badd49f99c
commit
c8605c786e
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
%global forgeurl https://github.com/go-gitea/gitea
|
%global forgeurl https://github.com/go-gitea/gitea
|
||||||
Version: 1.16.4
|
Version: 1.17.3
|
||||||
|
|
||||||
%forgemeta
|
%forgemeta
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Gitea
|
||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global ldflags -X \"code.gitea.io/gitea/modules/setting.CustomPath=/etc/gitea/\" -X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea\" -X \"code.gitea.io/gitea/modules/setting.StaticRootPath=/var/lib/gitea/static\" -X \"code.gitea.io/gitea/modules/setting.PIDFile=/run/gitea/gitea.pid\"
|
%global ldflags -X \"code.gitea.io/gitea/modules/setting.CustomPath=/etc/gitea/\" -X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea\" -X \"code.gitea.io/gitea/modules/setting.StaticRootPath=/var/lib/gitea/static\" -X \"code.gitea.io/gitea/modules/setting.PIDFile=/run/gitea/gitea.pid\" -X \"main.Version=%{version}\"
|
||||||
TAGS="bindata" LDFLAGS="%{ldflags}" %{__make} build
|
TAGS="bindata" LDFLAGS="%{ldflags}" %{__make} build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Reference in a new issue