Skip to content

Commit

Permalink
Correct use of sha1 hash in rpm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
portante committed Sep 7, 2022
1 parent 16de4c9 commit 7125060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/rpm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ submodules:
${subcomps}:
make -C ${PBENCHTOP}/$@ DESTDIR=${TBDIR}/$@ install

$(RPMSRPM)/$(prog)-$(version)-$(seqno)$(sha1).src.rpm: srpm
$(RPMSRPM)/$(prog)-$(version)-$(seqno)g$(sha1).src.rpm: srpm

ifdef COPR_USER
_copr_user = ${COPR_USER}
Expand All @@ -115,7 +115,7 @@ endif

COPR_TARGETS = copr copr-test
.PHONY: ${COPR_TARGETS}
${COPR_TARGETS}: $(RPMSRPM)/$(prog)-$(version)-$(seqno)$(sha1).src.rpm
${COPR_TARGETS}: $(RPMSRPM)/$(prog)-$(version)-$(seqno)g$(sha1).src.rpm
copr-cli build ${CHROOTS} $(_copr_user)/$(subst copr,pbench,$@) $(RPMSRPM)/$(prog)-$(VERSION)-$(seqno)g$(sha1).src.rpm

# Determine the present working directory relative to ${PBENCHTOP} so that we
Expand Down

0 comments on commit 7125060

Please sign in to comment.