rm -Rf /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659 ; mkdir /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659 for REP in /opt/metwork-mfsysmon-2.0/*; do \ if test "" = "1"; then continue; fi; \ if ! test -d "${REP}"; then continue; fi; \ if test "${REP}" = "/opt/metwork-mfsysmon-2.0/build"; then continue; fi; \ if test "${REP}" = "/opt/metwork-mfsysmon-2.0/src"; then continue; fi; \ if [[ ${REP} = /opt/metwork-mfsysmon-2.0/mfsysmon-* ]]; then continue; fi; \ cp -Rpf ${REP} /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/; \ done if test "" = "1"; then \ mkdir -p /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/opt; \ for REP in /opt/metwork-mfsysmon-2.0/opt/*; do \ if ! test -d "${REP}"; then continue; fi; \ if ! test -f ${REP}/.mfextaddon; then continue; fi; \ if test "`cat ${REP}/.mfextaddon 2>/dev/null`" != ""; then continue; fi; \ cp -Rpf ${REP} /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/opt/; \ done; \ else \ cp -f /opt/metwork-mfsysmon-2.0/.layerapi2* /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/; \ cp -f /opt/metwork-mfsysmon-2.0/.dhash* /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/ 2>/dev/null || true; \ fi chmod -R go-rwx /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659 chmod -R ug+rX /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659 chmod -R u+rwX /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659 rm -f /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/mf*_link rm -f /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/*.tar rm -f /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/*.rpm rm -Rf /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/tmp >/dev/null 2>&1 rm -Rf /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/var >/dev/null 2>&1 rm -Rf /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/log >/dev/null 2>&1 rm -Rf /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659/runtime >/dev/null 2>&1 cd /opt/metwork-mfsysmon-2.0 && tar -cf mfsysmon-2.0.2-1659-linux64.tar mfsysmon-2.0.2-1659 rm -Rf /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659 rm -Rf /opt/metwork-mfsysmon-2.0/rpm mkdir /opt/metwork-mfsysmon-2.0/rpm mkdir /opt/metwork-mfsysmon-2.0/rpm/BUILD mkdir /opt/metwork-mfsysmon-2.0/rpm/RPMS mkdir /opt/metwork-mfsysmon-2.0/rpm/SRPMS mkdir /opt/metwork-mfsysmon-2.0/rpm/SPECS mkdir /opt/metwork-mfsysmon-2.0/rpm/SOURCES mkdir /opt/metwork-mfsysmon-2.0/rpm/tmp echo '%_topdir /opt/metwork-mfsysmon-2.0/rpm' >/opt/metwork-mfsysmon-2.0/rpm/.rpmmacros cat /opt/metwork-mfext-2.0/share/_metwork.spec | /opt/metwork-mfext-2.0/bin/envtpl --reduce-multi-blank-lines >/opt/metwork-mfsysmon-2.0/rpm/SPECS/metwork-mfsysmon.spec echo /opt/metwork-mfsysmon-2.0/rpm/SPECS/metwork-mfsysmon.spec /opt/metwork-mfsysmon-2.0/rpm/SPECS/metwork-mfsysmon.spec ln -s /opt/metwork-mfsysmon-2.0/mfsysmon-2.0.2-1659-linux64.tar /opt/metwork-mfsysmon-2.0/rpm/SOURCES/mfsysmon-2.0.2-1659-linux64.tar cd /opt/metwork-mfsysmon-2.0/rpm/SPECS && export HOME=/opt/metwork-mfsysmon-2.0/rpm && rpmbuild -bb metwork-mfsysmon.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uOVWSp + umask 022 + cd /opt/metwork-mfsysmon-2.0/rpm/BUILD + cd /opt/metwork-mfsysmon-2.0/rpm/BUILD + rm -Rf metwork-mfsysmon-2.0.2-1659 + rm -Rf mfsysmon-2.0.2-1659 + cat /opt/metwork-mfsysmon-2.0/rpm/SOURCES/mfsysmon-2.0.2-1659-linux64.tar + tar -xf - + mkdir metwork-mfsysmon-2.0.2-1659 + mv mfsysmon-2.0.2-1659 metwork-mfsysmon-2.0.2-1659/ + cd metwork-mfsysmon-2.0.2-1659 + rm -f 'mf*_link' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.smMYOl + umask 022 + cd /opt/metwork-mfsysmon-2.0/rpm/BUILD + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mLUhO0 + umask 022 + cd /opt/metwork-mfsysmon-2.0/rpm/BUILD + '[' /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64 '!=' / ']' + rm -rf /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64 ++ dirname /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64 + mkdir -p /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT + mkdir /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64 + mkdir -p /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64//opt/metwork-mfsysmon-2.0 + ln -s /opt/metwork-mfsysmon-2.0 /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/opt/metwork-mfsysmon + mkdir -p /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/home/mfsysmon + mv metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/bin metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/config metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/html_doc metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/opt metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/share /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/opt/metwork-mfsysmon-2.0/ + mv metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/.layerapi2_dependencies metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/.layerapi2_label /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/opt/metwork-mfsysmon-2.0/ + mv metwork-mfsysmon-2.0.2-1659/mfsysmon-2.0.2-1659/.dhash /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/opt/metwork-mfsysmon-2.0/ + rm -Rf /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/opt/metwork-mfsysmon-2.0/html_doc + ln -s /opt/metwork-mfsysmon-2.0/share/bashrc /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/home/mfsysmon/.bashrc + ln -s /opt/metwork-mfsysmon-2.0/share/bash_profile /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/home/mfsysmon/.bash_profile + chmod -R go-rwx /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/home/mfsysmon + chmod -R u+rX /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/home/mfsysmon + chmod -R a+rX /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64/opt/metwork-mfsysmon-2.0 + rm -Rf /opt/metwork-mfsysmon-2.0/rpm/BUILD/metwork-mfsysmon-2.0.2-1659 + /usr/lib/rpm/check-buildroot Processing files: metwork-mfsysmon-2.0.2-1659.gen.x86_64 Provides: metwork-mfsysmon = 10:2.0.2-1659.gen metwork-mfsysmon(x86-64) = 10:2.0.2-1659.gen metwork-mfsysmon-minimal = 10:2.0.2-1659.gen Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: metwork-mfsysmon-minimal < 10:2.0.2-1659.gen Processing files: metwork-mfsysmon-2.0-2.0.2-1659.gen.x86_64 Provides: metwork-mfsysmon-2.0 = 10:2.0.2-1659.gen metwork-mfsysmon-2.0(x86-64) = 10:2.0.2-1659.gen metwork-mfsysmon-layer-default-2.0 = 10:2.0.2-1659.gen metwork-mfsysmon-layer-root-2.0 = 10:2.0.2-1659.gen metwork-mfsysmon-minimal-2.0 = 10:2.0.2-1659.gen Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(postun): /bin/sh Obsoletes: metwork-mfsysmon-core-2.0 metwork-mfsysmon-layer-default-2.0 < 10:2.0.2-1659.gen metwork-mfsysmon-layer-python-2.0 metwork-mfsysmon-layer-root-2.0 < 10:2.0.2-1659.gen metwork-mfsysmon-minimal-2.0 < 10:2.0.2-1659.gen Processing files: metwork-mfsysmon-full-2.0.2-1659.gen.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64 Wrote: /opt/metwork-mfsysmon-2.0/rpm/RPMS/x86_64/metwork-mfsysmon-2.0.2-1659.gen.x86_64.rpm Wrote: /opt/metwork-mfsysmon-2.0/rpm/RPMS/x86_64/metwork-mfsysmon-2.0-2.0.2-1659.gen.x86_64.rpm Wrote: /opt/metwork-mfsysmon-2.0/rpm/RPMS/x86_64/metwork-mfsysmon-full-2.0.2-1659.gen.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zzXpiX + umask 022 + cd /opt/metwork-mfsysmon-2.0/rpm/BUILD + rm -fr /opt/metwork-mfsysmon-2.0/rpm/BUILDROOT/metwork-mfsysmon-2.0.2-1659.gen.x86_64 + exit 0 if test "" = "1"; then rm -f $(ls /opt/metwork-mfsysmon-2.0/rpm/RPMS/x86_64/*.rpm |grep -v '\-layer\-'); fi cp -f /opt/metwork-mfsysmon-2.0/rpm/RPMS/x86_64/*.rpm /opt/metwork-mfsysmon-2.0/ if test ! "true" = true; then rm -Rf /opt/metwork-mfsysmon-2.0/rpm; fi