diff --git a/SPECS/gitea-group-sync.spec b/SPECS/gitea-group-sync.spec index 23ad46f..ce4de2b 100644 --- a/SPECS/gitea-group-sync.spec +++ b/SPECS/gitea-group-sync.spec @@ -5,7 +5,7 @@ %define gitea_logdir /var/log/gitea/ Name : gitea-group-sync -Version : 20210929 +Version : 20220525 Release : 1%{dist} License : MIT URL : http://gitea.io @@ -27,6 +27,8 @@ export GOPATH=`pwd` mkdir -p go/src/github.com/gitea-group-sync/ cd go/src/github.com/gitea-group-sync/ git clone https://github.com/gitea-group-sync/gitea-group-sync +cd gitea-group-sync +sed 's|for j := 1; j < len(teamList); j++ {|for j := 0; j < len(teamList); j++ {|' -i gitea-group-sync.go %build