File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ case "$OS" in
31
31
# 15:05:28 #include <sys/random.h>
32
32
# 15:05:28 ^
33
33
# 15:05:28 compilation terminated.
34
- patch -p1 < %{_topdir }/SOURCES/fix_git_on_rhel7 .patch
34
+ patch -p1 < %{_topdir }/SOURCES/fix_git_on_old_platforms .patch
35
35
fi
36
36
;;
37
37
esac
Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ install: build
23
23
dh_clean -k
24
24
dh_installdirs
25
25
26
+ case "$(OS)-$(OS_VERSION)" in
27
+ ubuntu-16*)
28
+ patch -p1 < $(CURDIR)/fix_git_on_old_platforms.patch
29
+ ;;
30
+ debian-9*)
31
+ patch -p1 < $(CURDIR)/fix_git_on_old_platforms.patch
32
+ ;;
33
+ esac
34
+
26
35
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
27
36
28
37
rm -rf $(CURDIR)/debian/tmp$(PREFIX)/lib/perl*
File renamed without changes.
You can’t perform that action at this time.
0 commit comments