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