summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-15 23:08:42 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-15 23:08:42 -0800
commitee16339d044bf594d7e6f6d178c03d8c0bff20fb (patch)
treec06add59141369f81bce97c625703156fb0372a7 /Makefile
parentMerge branch 'jk/maint-format-patch-p-suppress-stat' into maint (diff)
parentMakefile: Ensure rpm packages can be read by older rpm versions (diff)
downloadtgif-ee16339d044bf594d7e6f6d178c03d8c0bff20fb.tar.xz
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)