# spec file generated by paack Name: microshift-io-manifests # disable dynamic rpmbuild checks %global __os_install_post /bin/true %global __arch_install_post /bin/true %global _build_id_links none AutoReqProv: no %global imageStore /usr/lib/container-images/microshift-io-manifests/ %global manifestStore /usr/lib/microshift/manifests/ Version: 1.0.0 Release: 2 Summary: Application specific manifests License: Apache License 2.0 Source0: microshift-io-manifests-1.0.0-2-x86_64-manifests.tar.bz2 Source1: microshift-io-manifests-1.0.0-2-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}./microweb.yaml" "%{manifestStore}./microweb-service.yaml" "%{manifestStore}./microweb-mdns.yaml" "%{manifestStore}./kustomization.yaml" %endif %ifarch aarch64 %dir "%{manifestStore}." "%{manifestStore}./microweb.yaml" "%{manifestStore}./microweb-service.yaml" "%{manifestStore}./microweb-mdns.yaml" "%{manifestStore}./kustomization.yaml" %endif %changelog * Fri Apr 1 2022 Paack . 1.0.0-2 Read only crio containter storage and manifests generated by paack