summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-01-17 15:01:32 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-01-17 15:01:32 +0000
commit8983270ba7d84e2c34a2d2a50def777600bcf3bb (patch)
tree8a7d9d8a7e7499c7c69f9f8b66ee8a09c06683f0 /subr
parent35f3dfcb1498a2b157a1019b5d1572d95c670e8d (diff)
downloadmidipix_build-8983270ba7d84e2c34a2d2a50def777600bcf3bb.tar.bz2
midipix_build-8983270ba7d84e2c34a2d2a50def777600bcf3bb.tar.xz
subr/pkg_install_rpm.subr: explicitly provide Buildroot in RPM specification file (possibly fixing [1].)
References: Fri, 17 Jan 2020 15:02:03 +0000 [1] 103455 – rpmbuild crashes with broken pipe during check-files <https://bugzilla.redhat.com/show_bug.cgi?id=103455>
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_install_rpm.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/subr/pkg_install_rpm.subr b/subr/pkg_install_rpm.subr
index 49cf6aa4..2a3cac1c 100644
--- a/subr/pkg_install_rpm.subr
+++ b/subr/pkg_install_rpm.subr
@@ -21,6 +21,7 @@ pkg_install_rpm() {
fi;
fi;
cat > "${PKG_BASE_DIR}/${PKG_NAME}-${_pkg_version_rpm}.spec" <<EOF
+Buildroot: ${PREFIX_RPM}/${PKG_NAME}-${_pkg_version_rpm}/BUILDROOT
Name: ${PKG_NAME}
Version: ${_pkg_version_rpm}
Release: 1