diff --git a/gitea.spec b/gitea.spec index dd3c4a0..7ec59d3 100644 --- a/gitea.spec +++ b/gitea.spec @@ -2,10 +2,16 @@ ExclusiveArch: %{go_arches} %if 0%{?el8} %global debug_package %{nil} %endif +%if 0%{?fc38} +%global debug_package %{nil} +%endif +%if 0%{?fc39} +%global debug_package %{nil} +%endif Name: gitea Version: 1.19.4 -Release: 0%{?dist} +Release: 1%{?dist} Summary: Gitea: Git with a cup of tea License: MIT @@ -30,12 +36,11 @@ Requires: git %build sed -i -e 's/-s -w //g' Makefile -export LDFLAGS=`echo ${LDFLAGS} | sed -i -e 's/-Wl,-z,relro //g'` +unset LDFLAGS make \ TAGS="bindata pam sqlite sqlite_unlock_notify"\ DRONE_TAG="%{version}-%{release}" \ - GOFLAGS='-a' \ build sed -i \