From 698af6ed24c50eb9c8bcc2446f23cd2d76f0fa0a Mon Sep 17 00:00:00 2001 From: Mark Ferrell Date: Tue, 15 Apr 2014 11:08:47 -0700 Subject: Fixup source dependancies * Add the builder git index and included configs to a packages source dependancies. --- libexec/build-makedeps | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libexec') diff --git a/libexec/build-makedeps b/libexec/build-makedeps index 1d7a2bd..b346120 100755 --- a/libexec/build-makedeps +++ b/libexec/build-makedeps @@ -57,7 +57,13 @@ for package in $(echo "${BUILDER_PKGDIR}"/*/*); do package_export="${BUILDER_TOPDIR}/exports/${CATEGORY}/${NAME}-${VERSION}-${RELEASE}.${CHOST%%-*}.rpm" package_logdir="${L}" - package_sources="${RULESFILE}" + package_sources="${BUILDER_TOPDIR}/.git/modules/scripts/index" + for config in ${BUILDER_INCLUDED}; do + test -f "${BUILDER_CFGDIR}/${config}" || continue + package_sources="${package_sources} ${BUILDER_CFGDIR}/${config}" + done + + package_sources="${package_sources} ${RULESFILE}" for patch in ${PATCHES}; do patch="${F}/${NAME}-${VERSION}-${patch}.patch" if ! test -f "${patch}"; then -- cgit v1.2.3-70-g09d2