Skip to content

Commit 368eab3

Browse files
committed
Include man pages in RPM file
Signed-off-by: Martin Skøtt <[email protected]>
1 parent d9116b7 commit 368eab3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rpm/podman-bootc.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,20 @@ Requires: libvirt
4040
%build
4141
export BUILDTAGS="exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote"
4242
%gobuild -o %{gobuilddir}/bin/%%{name} %{goipath}
43+
%{__make} docs
4344

4445
%install
4546
%gopkginstall
4647
install -m 0755 -vd %{buildroot}%{_bindir}
4748
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
49+
install -m 0755 -vd %{buildroot}%{_mandir}/man1
50+
install -m 0755 -vp docs/*.1 %{buildroot}%{_mandir}/man1/
4851

4952
%files
5053
%license LICENSE
5154
%doc README.md
5255
%{_bindir}/*
56+
%{_mandir}/man1/*.1*
5357

5458
%gopkgfiles
5559

0 commit comments

Comments
 (0)