From 325ba8f0816d1fcb0948504d6c263362cdb93efb Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 5 Oct 2021 17:07:11 -0400 Subject: [PATCH] Add .containerignore.5 link --- .containerignore.5 | 1 + containers-common.spec | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .containerignore.5 diff --git a/.containerignore.5 b/.containerignore.5 new file mode 100644 index 0000000..7e223ec --- /dev/null +++ b/.containerignore.5 @@ -0,0 +1 @@ +.so man5/containerignore.5 diff --git a/containers-common.spec b/containers-common.spec index bebf5ea..8902fe4 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -16,7 +16,7 @@ Epoch: 4 Name: containers-common Version: 1 -Release: 31%{?dist} +Release: 32%{?dist} Summary: Common configuration and documentation for containers License: ASL 2.0 BuildArch: noarch @@ -50,6 +50,7 @@ Source21: registry.access.redhat.com.yaml Source22: registry.redhat.io.yaml Source23: %{github_containers}/buildah/%{buildah_branch}/docs/Containerfile.5.md Source24: %{github_containers}/buildah/%{buildah_branch}/docs/containerignore.5.md +Source25: %{github_containers}/buildah/%{buildah_branch}/docs/links/.containerignore.5 %description This package contains common configuration files and documentation for container @@ -84,6 +85,7 @@ cp %{SOURCE21} . cp %{SOURCE22} . cp %{SOURCE23} . cp %{SOURCE24} . +cp %{SOURCE25} . %build @@ -117,6 +119,7 @@ go-md2man -in Containerfile.5.md -out %{buildroot}%{_mandir}/man5/Containerfile. go-md2man -in containerignore.5.md -out %{buildroot}%{_mandir}/man5/containerignore.5 go-md2man -in containers-auth.json.5.md -out %{buildroot}%{_mandir}/man5/containers-auth.json.5 go-md2man -in containers-registries.conf.d.5.md -out %{buildroot}%{_mandir}/man5/containers-registries.conf.d.5 +install -m0644 .containerignore.5 %{buildroot}%{_mandir}/man5/.containerignore.5 # install config files for mounts, containers and seccomp install -dp %{buildroot}%{_datadir}/containers @@ -149,6 +152,7 @@ ln -s %{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secret %ghost %{_sysconfdir}/containers/containers.conf %dir %{_sharedstatedir}/containers/sigstore %{_mandir}/man5/*.5* +%{_mandir}/man5/.*.5* %dir %{_datadir}/containers %{_datadir}/containers/containers.conf %{_datadir}/containers/mounts.conf @@ -157,6 +161,9 @@ ln -s %{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secret %{_datadir}/rhel/secrets/* %changelog +* Tue Oct 5 2021 Dan Walsh - 4:1-32 +- Add .containerignore.5 link + * Fri Oct 1 2021 Dan Walsh - 4:1-31 - Update to grab latest man pages and configuration files - Add Containerfile.md