mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-11-08 17:07:23 +00:00
Merge pull request #21907 from debarshiray/wip/rishi/rpm-podman.spec-podmansh-manual-podmansh-package
[CI:BUILD] rpm: Put the podmansh(1) manual in the podmansh sub-package
This commit is contained in:
commit
4fb96e9d15
1 changed files with 3 additions and 2 deletions
|
|
@ -263,8 +263,8 @@ PODMAN_VERSION=%{version} %{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} ETCDI
|
|||
sed -i 's;%{buildroot};;g' %{buildroot}%{_bindir}/docker
|
||||
|
||||
# do not include docker and podman-remote man pages in main package
|
||||
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e remote -e docker`; do
|
||||
echo "$file*" >> podman.file-list
|
||||
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e %{name}sh.1 -e remote -e docker`; do
|
||||
echo "$file*" >> %{name}.file-list
|
||||
done
|
||||
|
||||
rm -f %{buildroot}%{_mandir}/man5/docker*.5
|
||||
|
|
@ -319,6 +319,7 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
|
|||
|
||||
%files -n %{name}sh
|
||||
%{_bindir}/%{name}sh
|
||||
%{_mandir}/man1/%{name}sh.1*
|
||||
|
||||
%changelog
|
||||
%if %{defined autochangelog}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue