Skip to content

Commit 5831a56

Browse files
author
J.C. Jones
committed
Fix rpm build error on bench test.
RPM Builds were failing because they attempted to package "bin/bin/pkcs11bench" due to semantics on line 75. This patch renames the target from "bin/pkcs11bench" to simply "pkcs11bench" to bypass the issue.
1 parent a5ad71b commit 5831a56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EPOCH ?= 1
1010
MAINTAINER ?= "Community"
1111

1212
CMD_OBJECTS = $(shell find ./cmd -maxdepth 1 -mindepth 1 -type d -exec basename '{}' \;)
13-
OBJECTS = $(CMD_OBJECTS) bin/pkcs11bench
13+
OBJECTS = $(CMD_OBJECTS) pkcs11bench
1414

1515
# Build environment variables (referencing core/util.go)
1616
COMMIT_ID = $(shell git rev-parse --short HEAD)
@@ -74,5 +74,5 @@ rpm:
7474
--depends "libtool-ltdl" --maintainer "$(MAINTAINER)" \
7575
test/boulder-config.json sa/_db ca/_db $(foreach var,$(OBJECTS), $(OBJDIR)/$(var))
7676

77-
bin/pkcs11bench: pre
77+
pkcs11bench: pre
7878
go test -o ./bin/pkcs11bench -c ./Godeps/_workspace/src/github.com/cloudflare/cfssl/crypto/pkcs11key/

0 commit comments

Comments
 (0)