rm -Rf /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275 ; mkdir /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275 for REP in /opt/metwork-mfadmin-1.0/*; do \ if test "" = "1"; then continue; fi; \ if ! test -d "${REP}"; then continue; fi; \ if test "${REP}" = "/opt/metwork-mfadmin-1.0/build"; then continue; fi; \ if test "${REP}" = "/opt/metwork-mfadmin-1.0/src"; then continue; fi; \ if [[ ${REP} = /opt/metwork-mfadmin-1.0/mfadmin-* ]]; then continue; fi; \ cp -Rpf ${REP} /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/; \ done if test "" = "1"; then \ mkdir -p /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/opt; \ for REP in /opt/metwork-mfadmin-1.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-mfadmin-1.0/mfadmin-1.0.4-275/opt/; \ done; \ else \ cp -f /opt/metwork-mfadmin-1.0/.layerapi2* /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/; \ cp -f /opt/metwork-mfadmin-1.0/.dhash* /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/ 2>/dev/null || true; \ fi chmod -R go-rwx /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275 chmod -R ug+rX /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275 chmod -R u+rwX /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275 rm -f /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/mf*_link rm -f /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/*.tar rm -f /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/*.rpm rm -Rf /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/tmp >/dev/null 2>&1 rm -Rf /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/var >/dev/null 2>&1 rm -Rf /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/log >/dev/null 2>&1 rm -Rf /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275/runtime >/dev/null 2>&1 cd /opt/metwork-mfadmin-1.0 && tar -cf mfadmin-1.0.4-275-linux64.tar mfadmin-1.0.4-275 rm -Rf /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275 rm -Rf /opt/metwork-mfadmin-1.0/rpm mkdir /opt/metwork-mfadmin-1.0/rpm mkdir /opt/metwork-mfadmin-1.0/rpm/BUILD mkdir /opt/metwork-mfadmin-1.0/rpm/RPMS mkdir /opt/metwork-mfadmin-1.0/rpm/SRPMS mkdir /opt/metwork-mfadmin-1.0/rpm/SPECS mkdir /opt/metwork-mfadmin-1.0/rpm/SOURCES mkdir /opt/metwork-mfadmin-1.0/rpm/tmp echo '%_topdir /opt/metwork-mfadmin-1.0/rpm' >/opt/metwork-mfadmin-1.0/rpm/.rpmmacros cat /opt/metwork-mfext-1.0/share/_metwork.spec | /opt/metwork-mfext-1.0/bin/envtpl --reduce-multi-blank-lines >/opt/metwork-mfadmin-1.0/rpm/SPECS/metwork-mfadmin.spec echo /opt/metwork-mfadmin-1.0/rpm/SPECS/metwork-mfadmin.spec /opt/metwork-mfadmin-1.0/rpm/SPECS/metwork-mfadmin.spec ln -s /opt/metwork-mfadmin-1.0/mfadmin-1.0.4-275-linux64.tar /opt/metwork-mfadmin-1.0/rpm/SOURCES/mfadmin-1.0.4-275-linux64.tar cd /opt/metwork-mfadmin-1.0/rpm/SPECS && export HOME=/opt/metwork-mfadmin-1.0/rpm && rpmbuild -bb metwork-mfadmin.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fMN9jx + umask 022 + cd /opt/metwork-mfadmin-1.0/rpm/BUILD + LANG=C + export LANG + unset DISPLAY + cd /opt/metwork-mfadmin-1.0/rpm/BUILD + rm -Rf metwork-mfadmin-1.0.4-275 + rm -Rf mfadmin-1.0.4-275 + cat /opt/metwork-mfadmin-1.0/rpm/SOURCES/mfadmin-1.0.4-275-linux64.tar + tar -xf - + mkdir metwork-mfadmin-1.0.4-275 + mv mfadmin-1.0.4-275 metwork-mfadmin-1.0.4-275/ + cd metwork-mfadmin-1.0.4-275 + rm -f 'mf*_link' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kNzpmx + umask 022 + cd /opt/metwork-mfadmin-1.0/rpm/BUILD + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jQCQpx + umask 022 + cd /opt/metwork-mfadmin-1.0/rpm/BUILD + '[' /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64 '!=' / ']' + rm -rf /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64 ++ dirname /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64 + mkdir -p /opt/metwork-mfadmin-1.0/rpm/BUILDROOT + mkdir /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64 + LANG=C + export LANG + unset DISPLAY + mkdir -p /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64//opt/metwork-mfadmin-1.0 + ln -s /opt/metwork-mfadmin-1.0 /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/opt/metwork-mfadmin + mkdir -p /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/home/mfadmin + mv metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/bin metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/config metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/html_doc metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/opt metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/share /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/opt/metwork-mfadmin-1.0/ + mv metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/.layerapi2_dependencies metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/.layerapi2_label /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/opt/metwork-mfadmin-1.0/ + mv metwork-mfadmin-1.0.4-275/mfadmin-1.0.4-275/.dhash /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/opt/metwork-mfadmin-1.0/ + rm -Rf /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/opt/metwork-mfadmin-1.0/html_doc + ln -s /opt/metwork-mfadmin-1.0/share/bashrc /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/home/mfadmin/.bashrc + ln -s /opt/metwork-mfadmin-1.0/share/bash_profile /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/home/mfadmin/.bash_profile + chmod -R go-rwx /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/home/mfadmin + chmod -R u+rX /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/home/mfadmin + chmod -R a+rX /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64/opt/metwork-mfadmin-1.0 + rm -Rf /opt/metwork-mfadmin-1.0/rpm/BUILD/metwork-mfadmin-1.0.4-275 + /usr/lib/rpm/check-buildroot Processing files: metwork-mfadmin-1.0.4-275.gen.x86_64 Processing files: metwork-mfadmin-1.0-1.0.4-275.gen.x86_64 Processing files: metwork-mfadmin-full-1.0.4-275.gen.x86_64 Processing files: metwork-mfadmin-layer-metrics-1.0-1.0.4-275.gen.x86_64 Processing files: metwork-mfadmin-layer-logs-1.0-1.0.4-275.gen.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64 Wrote: /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/metwork-mfadmin-1.0.4-275.gen.x86_64.rpm Wrote: /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/metwork-mfadmin-1.0-1.0.4-275.gen.x86_64.rpm Wrote: /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/metwork-mfadmin-full-1.0.4-275.gen.x86_64.rpm Wrote: /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/metwork-mfadmin-layer-metrics-1.0-1.0.4-275.gen.x86_64.rpm Wrote: /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/metwork-mfadmin-layer-logs-1.0-1.0.4-275.gen.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bKlGO0 + umask 022 + cd /opt/metwork-mfadmin-1.0/rpm/BUILD + rm -fr /opt/metwork-mfadmin-1.0/rpm/BUILDROOT/metwork-mfadmin-1.0.4-275.gen.x86_64 + exit 0 if test "" = "1"; then rm -f $(ls /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/*.rpm |grep -v '\-layer\-'); fi cp -f /opt/metwork-mfadmin-1.0/rpm/RPMS/x86_64/*.rpm /opt/metwork-mfadmin-1.0/ if test ! "true" = true; then rm -Rf /opt/metwork-mfadmin-1.0/rpm; fi