Skip to content

Commit 52748cf

Browse files
committed
make Debian package build reproducible
Thanks to Chris Lamb for the patch (Closes: #920411)
1 parent c7b3487 commit 52748cf

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
mongo-c-driver (1.13.1-2) UNRELEASED; urgency=medium
2+
3+
* Make build reproducible; thanks to Chris Lamb for the patch
4+
(Closes: #920411)
5+
6+
-- Roberto C. Sanchez <[email protected]> Mon, 28 Jan 2019 17:13:31 -0500
7+
18
mongo-c-driver (1.13.1-1) unstable; urgency=medium
29

310
* New upstream release

debian/rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ override_dh_auto_configure:
3030
-DENABLE_TESTS=OFF \
3131
-DENABLE_ZLIB=SYSTEM
3232

33+
override_dh_auto_install:
34+
dh_auto_install
35+
find $(CURDIR)/debian/tmp/usr/include -type f -name "*.h" -print0 | \
36+
xargs -0r sed -i -e 's@\([" ]\)[^ ]*-f\(file\|debug\)-prefix-map=[^ ]*\([" ]\)@\1\3@g'
37+
3338
#override_dh_install:
3439
# dh_install -a -X.la -Xmongoc-stat -Xdoc/mongo-c-driver -Xdoc/libbson -Xman/man3 -X-priv.so -X-priv.pc --fail-missing
3540

0 commit comments

Comments
 (0)