Add .containerignore.5 link

This commit is contained in:
Daniel J Walsh 2021-10-05 17:07:11 -04:00
parent b99309d7d7
commit 325ba8f081
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
2 changed files with 9 additions and 1 deletions

1
.containerignore.5 Normal file
View File

@ -0,0 +1 @@
.so man5/containerignore.5

View File

@ -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 <dwalsh@fedoraproject.org> - 4:1-32
- Add .containerignore.5 link
* Fri Oct 1 2021 Dan Walsh <dwalsh@fedoraproject.org> - 4:1-31
- Update to grab latest man pages and configuration files
- Add Containerfile.md