diff options
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 3defcdde70..d291733dcf 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -147,7 +147,7 @@ python write_specfile() { | |||
147 | rpm_prep() { | 147 | rpm_prep() { |
148 | if [ ! -e ${WORKDIR}/rpmrc ]; then | 148 | if [ ! -e ${WORKDIR}/rpmrc ]; then |
149 | mkdir -p ${RPMBUILDPATH}/{SPECS,RPMS/{i386,i586,i686,noarch,ppc,mips,mipsel,arm},SRPMS,SOURCES,BUILD} | 149 | mkdir -p ${RPMBUILDPATH}/{SPECS,RPMS/{i386,i586,i686,noarch,ppc,mips,mipsel,arm},SRPMS,SOURCES,BUILD} |
150 | echo 'macrofiles:/usr/lib/rpm/macros:${WORKDIR}/macros' > ${WORKDIR}/rpmrc | 150 | echo 'macrofiles:${STAGING_DIR_NATIVE}/usr/lib/rpm/macros:${WORKDIR}/macros' > ${WORKDIR}/rpmrc |
151 | echo '%_topdir ${RPMBUILDPATH}' > ${WORKDIR}/macros | 151 | echo '%_topdir ${RPMBUILDPATH}' > ${WORKDIR}/macros |
152 | echo '%_repackage_dir ${WORKDIR}' >> ${WORKDIR}/macros | 152 | echo '%_repackage_dir ${WORKDIR}' >> ${WORKDIR}/macros |
153 | fi | 153 | fi |