From 444f7d055e554af146cf9ac4fa9a224c85a895f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 14 May 2018 15:08:29 +0000 Subject: subr/pkg_install.subr: fix %install script & %files list. --- subr/pkg_install.subr | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr index 25664aa8..df68ba19 100644 --- a/subr/pkg_install.subr +++ b/subr/pkg_install.subr @@ -34,11 +34,15 @@ ${PKG_NAME} ${PKG_VERSION:-Unknown} %prep %build %install -cp -pPr ${PKG_DESTDIR}/. . +rm -rf "\${RPM_BUILD_ROOT}" +mkdir -p "\${RPM_BUILD_ROOT}" +cp -pPr "${PKG_DESTDIR}/." "\${RPM_BUILD_ROOT}" %post %postun %files +/ + %changelog EOF -- cgit v1.2.3