# spec file generated by paack Name: microshift-hello-world-manifests # disable dynamic rpmbuild checks %global __os_install_post /bin/true %global __arch_install_post /bin/true AutoReqProv: no %global imageStore /usr/lib/container-images/microshift-hello-world-manifests/ %global manifestStore /usr/lib/microshift/manifests/ Version: 1.0.0 Release: 3 Summary: Application specific manifests License: Apache License 2.0 Source0: microshift-hello-world-manifests-1.0.0-3-x86_64-manifests.tar.bz2 Source1: microshift-hello-world-manifests-1.0.0-3-aarch64-manifests.tar.bz2 %description This package provides a manifests for the deployed application containers. %prep if [ -d %{buildroot}%{imageStore} ] then rm -rf %{buildroot}%{imageStore} fi %clean find %{buildroot} -not -writable -not -type l -exec chmod u+w {} + rm -rf %{buildroot} %install %ifarch x86_64 mkdir -p %{buildroot}%{manifestStore} cd %{buildroot}%{manifestStore} tar xfj %{SOURCE0} %endif %ifarch aarch64 mkdir -p %{buildroot}%{manifestStore} cd %{buildroot}%{manifestStore} tar xfj %{SOURCE1} %endif # fix permissions here so that cpio can work later find ./ -perm 000 -exec chmod 400 {} + %pre %post %postun %files %ifarch x86_64 %dir "%{manifestStore}." "%{manifestStore}./kustomization.yaml" "%{manifestStore}./microweb-mdns.yaml" "%{manifestStore}./microweb-service.yaml" "%{manifestStore}./microweb.yaml" %endif %ifarch aarch64 %dir "%{manifestStore}." "%{manifestStore}./kustomization.yaml" "%{manifestStore}./microweb-mdns.yaml" "%{manifestStore}./microweb-service.yaml" "%{manifestStore}./microweb.yaml" %endif %changelog * Fri Apr 1 2022 Paack . 1.0.0-3 Read only crio containter storage and manifests generated by paack