Change name of storage.conf.5 man page to containers-storage.conf.5, since

it conflicts with inn package
Also remove default to "overalay" in the configuration, since we should
allow containers storage to pick the best default for the platform.
This commit is contained in:
Daniel J Walsh 2017-08-21 10:10:48 +00:00
parent cacf481841
commit 4ff6a6a1cd
2 changed files with 14 additions and 4 deletions

View File

@ -37,7 +37,7 @@ Name: skopeo
Epoch: 1 Epoch: 1
%endif # centos %endif # centos
Version: 0.1.23 Version: 0.1.23
Release: 5.git%{shortcommit}%{?dist} Release: 6.git%{shortcommit}%{?dist}
Summary: Inspect Docker images and repositories on registries Summary: Inspect Docker images and repositories on registries
License: ASL 2.0 License: ASL 2.0
URL: https://%{provider_prefix} URL: https://%{provider_prefix}
@ -211,7 +211,7 @@ make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_sysconfdir}
install -m0644 %SOURCE1 %{buildroot}%{_sysconfdir}/containers/storage.conf install -m0644 %SOURCE1 %{buildroot}%{_sysconfdir}/containers/storage.conf
mkdir -p %{buildroot}%{_mandir}/man5 mkdir -p %{buildroot}%{_mandir}/man5
go-md2man -in %SOURCE2 -out %{buildroot}%{_mandir}/man5/storage.conf.5 go-md2man -in %SOURCE2 -out %{buildroot}%{_mandir}/man5/containers-storage.conf.5
# source codes for building projects # source codes for building projects
%if 0%{?with_devel} %if 0%{?with_devel}
@ -276,7 +276,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%config(noreplace) %{_sysconfdir}/containers/registries.d/default.yaml %config(noreplace) %{_sysconfdir}/containers/registries.d/default.yaml
%config(noreplace) %{_sysconfdir}/containers/storage.conf %config(noreplace) %{_sysconfdir}/containers/storage.conf
%dir %{_sharedstatedir}/atomic/sigstore %dir %{_sharedstatedir}/atomic/sigstore
%{_mandir}/man5/storage.conf.5* %{_mandir}/man5/containers-storage.conf.5*
%files %files
%license LICENSE %license LICENSE
@ -288,6 +288,12 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/bash-completion/completions/%{name} %{_datadir}/bash-completion/completions/%{name}
%changelog %changelog
* Mon Aug 21 2017 dwalsh <dwalsh@redhat.com> - 0.1.23-6.dev.git1bbd87
- Change name of storage.conf.5 man page to containers-storage.conf.5, since
it conflicts with inn package
- Also remove default to "overalay" in the configuration, since we should
- allow containers storage to pick the best default for the platform.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.23-5.git1bbd87f * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.23-5.git1bbd87f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1,8 +1,12 @@
# storage.conf is the configuration file for all tools
# that share the containers/storage libraries
# See man 5 containers-storage.conf for more information
# The "container storage" table contains all of the server options. # The "container storage" table contains all of the server options.
[storage] [storage]
# Default Storage Driver # Default Storage Driver
driver = "overlay" driver = ""
# Temporary storage location # Temporary storage location
runroot = "/var/run/containers/storage" runroot = "/var/run/containers/storage"