Skip to content

Commit

Permalink
Copr spec file parser does not like '%S' (#178)
Browse files Browse the repository at this point in the history
* test copr

* show me the version

* try new format
  • Loading branch information
joe94 committed Nov 10, 2020
1 parent 47aa1be commit efc88b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/packaging/tr1d1um.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The Webpa object translator.
%setup -q

%build
GO111MODULE=on GOPROXY=https://proxy.golang.org go build -ldflags "-linkmode=external -X 'main.BuildTime=`date -u '+%Y-%m-%d %H:%M:%S'`' -X main.GitCommit={{{ git_short_hash }}} -X main.Version=%{version}" -o %{name} .
GOPROXY=https://proxy.golang.org go build -ldflags "-linkmode=external -X 'main.BuildTime=`date -u '+%c'`' -X main.GitCommit={{{ git_short_hash }}} -X main.Version=%{version}" -o %{name} .

%install
echo rm -rf %{buildroot}
Expand Down

0 comments on commit efc88b8

Please sign in to comment.