Codebase list hdf5 / 3d49156
Still trying to improve vs Reproducible Builds Gilles Filippini 5 years ago
2 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 hdf5 (1.10.4+repack-7) UNRELEASED; urgency=medium
11
22 * Re-enable auto_test erroneously commented out in the previous upload
3 * Still trying to improve vs Reproducible Builds
34
45 -- Gilles Filippini <pini@debian.org> Mon, 31 Dec 2018 10:21:10 +0100
56
215215 configure_%: builddir = debian/build-$(flavor)
216216 configure_%: $(DEBIAN_OUT)
217217 $($(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
218222
219223 override_dh_auto_configure: $(foreach flavor,$(FLAVORS),configure_$(flavor))
220224
262266 find debian/$(serpack)/usr/lib -name '*cpp*' -delete
263267 rm -f debian/$(serpackdev)/usr/lib/$(DEB_HOST_MULTIARCH)/libhdf5_java*
264268 # 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*
267271
268272 override_dh_makeshlibs:
269273 dh_makeshlibs -- -v$(libversion)