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