Skip to content

Commit

Permalink
Add missing TEST_SPEC_FILE variable to tar command.
Browse files Browse the repository at this point in the history
  • Loading branch information
schooler-hpe committed Aug 31, 2021
1 parent a6a462a commit 4d23f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test_rpm_prepare:
cp $(TEST_SPEC_FILE) $(TEST_BUILD_DIR)/SPECS/

test_rpm_package_source:
tar --transform 'flags=r;s,^,/$(TEST_SOURCE_NAME)/,' --exclude .git --exclude dist -cvjf $(TEST_SOURCE_PATH) ./tests/ct
tar --transform 'flags=r;s,^,/$(TEST_SOURCE_NAME)/,' --exclude .git --exclude dist -cvjf $(TEST_SOURCE_PATH) ./${TEST_SPEC_FILE} ./tests/ct

test_rpm_build_source:
BUILD_METADATA=$(BUILD_METADATA) rpmbuild -ts $(TEST_SOURCE_PATH) --define "_topdir $(TEST_BUILD_DIR)"
Expand Down

0 comments on commit 4d23f80

Please sign in to comment.