|
|
@ -2,7 +2,7 @@ |
|
|
|
%define debug_package %{nil} |
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
|
|
Name : authelia |
|
|
|
Name : authelia |
|
|
|
Version : 4.30.2 |
|
|
|
Version : 4.31.0 |
|
|
|
Release : 1%{dist} |
|
|
|
Release : 1%{dist} |
|
|
|
License : MIT |
|
|
|
License : MIT |
|
|
|
URL : https://www.authelia.com/ |
|
|
|
URL : https://www.authelia.com/ |
|
|
@ -49,6 +49,7 @@ if [ -f cmd/authelia/constants.go ]; then |
|
|
|
sed "s/__BUILD_TAG__/"%{version}"/" -i cmd/authelia/constants.go |
|
|
|
sed "s/__BUILD_TAG__/"%{version}"/" -i cmd/authelia/constants.go |
|
|
|
sed "s/__BUILD_COMMIT__/"%{release}"/" -i cmd/authelia/constants.go |
|
|
|
sed "s/__BUILD_COMMIT__/"%{release}"/" -i cmd/authelia/constants.go |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
sed 's|h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w=|h1:rdFxbxq4QXVZWj0F+e9jqjDkc7dbp97vkRixKo2JR60=|' -i go.sum |
|
|
|
go build -v -tags netgo -trimpath -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'github.com/authelia/authelia/internal/utils.BuildTag="%{version}"' -X 'github.com/authelia/authelia/internal/utils.BuildState=\"tagged clean\"' -X 'github.com/authelia/authelia/internal/utils.BuildExtra="%{dist}"' -X 'github.com/authelia/authelia/internal/utils.BuildDate="${BUILDATE}"' -X 'github.com/authelia/authelia/internal/utils.BuildCommit="${GITCOMMIT}"' -X 'github.com/authelia/authelia/internal/utils.BuildBranch=\"master\"' -X 'github.com/authelia/authelia/internal/utils.BuildNumber="%{release}"'" -o authelia ./cmd/authelia/ |
|
|
|
go build -v -tags netgo -trimpath -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'github.com/authelia/authelia/internal/utils.BuildTag="%{version}"' -X 'github.com/authelia/authelia/internal/utils.BuildState=\"tagged clean\"' -X 'github.com/authelia/authelia/internal/utils.BuildExtra="%{dist}"' -X 'github.com/authelia/authelia/internal/utils.BuildDate="${BUILDATE}"' -X 'github.com/authelia/authelia/internal/utils.BuildCommit="${GITCOMMIT}"' -X 'github.com/authelia/authelia/internal/utils.BuildBranch=\"master\"' -X 'github.com/authelia/authelia/internal/utils.BuildNumber="%{release}"'" -o authelia ./cmd/authelia/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|