diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2018-05-14 15:08:29 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2018-05-14 15:08:29 +0000 |
commit | 444f7d055e554af146cf9ac4fa9a224c85a895f3 (patch) | |
tree | 8be565abde09235d96fbe5137f4f76cd874af054 | |
parent | d1cb7c9061bb4ac13222b60d2b9a38c69fa08667 (diff) | |
download | midipix_build-444f7d055e554af146cf9ac4fa9a224c85a895f3.tar.bz2 midipix_build-444f7d055e554af146cf9ac4fa9a224c85a895f3.tar.xz |
subr/pkg_install.subr: fix %install script & %files list.
-rw-r--r-- | subr/pkg_install.subr | 6 |
1 files changed, 5 insertions, 1 deletions
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 |