summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-15 23:08:42 -0800
committerJunio C Hamano <gitster@pobox.com>2009-11-15 23:08:42 -0800
commitee16339d044bf594d7e6f6d178c03d8c0bff20fb (patch)
treec06add59141369f81bce97c625703156fb0372a7 /Makefile
parent1f9d282bd17ef6ccb791abeb34d36de503da9558 (diff)
parenta96e9c286a897637e7aa84f6b10cf99c367317ce (diff)
downloadgit-ee16339d044bf594d7e6f6d178c03d8c0bff20fb.tar.gz
Merge branch 'tz/maint-rpm' into maint
* tz/maint-rpm: Makefile: Ensure rpm packages can be read by older rpm versions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30656cf62c..856ba098b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1804,7 +1804,10 @@ dist: git.spec git-archive$(X) configure
gzip -f -9 $(GIT_TARNAME).tar
rpm: dist
- $(RPMBUILD) -ta $(GIT_TARNAME).tar.gz
+ $(RPMBUILD) \
+ --define "_source_filedigest_algorithm md5" \
+ --define "_binary_filedigest_algorithm md5" \
+ -ta $(GIT_TARNAME).tar.gz
htmldocs = git-htmldocs-$(GIT_VERSION)
manpages = git-manpages-$(GIT_VERSION)