Still trying to improve vs Reproducible Builds
Gilles Filippini
5 years ago
0 | 0 |
hdf5 (1.10.4+repack-7) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* Re-enable auto_test erroneously commented out in the previous upload
|
|
3 |
* Still trying to improve vs Reproducible Builds
|
3 | 4 |
|
4 | 5 |
-- Gilles Filippini <pini@debian.org> Mon, 31 Dec 2018 10:21:10 +0100
|
5 | 6 |
|
215 | 215 |
configure_%: builddir = debian/build-$(flavor)
|
216 | 216 |
configure_%: $(DEBIAN_OUT)
|
217 | 217 |
$($(FLAVOR)_ENV) dh_auto_configure --builddirectory=$(builddir) -- $(CONFIGURE_FLAGS) $($(FLAVOR)_FLAGS)
|
|
218 |
# Remove build path from libhdf5-$(flavor).settings (Reproducible Builds)
|
|
219 |
# This have to be done before the build because this file is included
|
|
220 |
# into the library
|
|
221 |
sed -i 's:$(CURDIR):$$(top_srcdir):g' $(builddir)/src/libhdf5.settings
|
218 | 222 |
|
219 | 223 |
override_dh_auto_configure: $(foreach flavor,$(FLAVORS),configure_$(flavor))
|
220 | 224 |
|
|
262 | 266 |
find debian/$(serpack)/usr/lib -name '*cpp*' -delete
|
263 | 267 |
rm -f debian/$(serpackdev)/usr/lib/$(DEB_HOST_MULTIARCH)/libhdf5_java*
|
264 | 268 |
# Drop dpkg-buildflags from helpers to improve reproducibility
|
265 | |
sed -i $(foreach flags,CFLAGS CXXFLAGS CPPFLAGS LDFLAGS,-e '/_$(flags)=/s/$(shell dpkg-buildflags --get $(flags) | sed 's:/:\\/:g')//') \
|
266 | |
debian/hdf5-helpers/usr/bin/h5*
|
|
269 |
sed -i $(foreach flags,CFLAGS CXXFLAGS CPPFLAGS FCFLAGS LDFLAGS,-e '/_$(flags)=/s/$(shell dpkg-buildflags --get $(flags) | sed 's:/:\\/:g')//') \
|
|
270 |
debian/hdf5-helpers/usr/bin/h5* debian/libhdf5-*mpi*-dev/usr/bin/h5*
|
267 | 271 |
|
268 | 272 |
override_dh_makeshlibs:
|
269 | 273 |
dh_makeshlibs -- -v$(libversion)
|