Skip to content

Commit ee16339

Browse files
committed
Merge branch 'tz/maint-rpm' into maint
* tz/maint-rpm: Makefile: Ensure rpm packages can be read by older rpm versions
2 parents 1f9d282 + a96e9c2 commit ee16339

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,10 @@ dist: git.spec git-archive$(X) configure
18041804
gzip -f -9 $(GIT_TARNAME).tar
18051805

18061806
rpm: dist
1807-
$(RPMBUILD) -ta $(GIT_TARNAME).tar.gz
1807+
$(RPMBUILD) \
1808+
--define "_source_filedigest_algorithm md5" \
1809+
--define "_binary_filedigest_algorithm md5" \
1810+
-ta $(GIT_TARNAME).tar.gz
18081811

18091812
htmldocs = git-htmldocs-$(GIT_VERSION)
18101813
manpages = git-manpages-$(GIT_VERSION)

0 commit comments

Comments
 (0)