File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -121,26 +121,27 @@ cat >%{?buildroot}/%{system_reinstall_bootc_install_podman_path} <<EOF
121121exec dnf -y install podman
122122EOF
123123chmod +x %{?buildroot }/%{system_reinstall_bootc_install_podman_path }
124+ # generate doc file list excluding directories
125+ touch %{?buildroot }/%{_docdir }/bootc/baseimage/base/sysroot/.keepdir
126+ find %{?buildroot }/%{_docdir } ! -type d -printf ' %{_docdir}/%%P\n' > bootcdoclist.txt
124127
125128%if %{with check }
126129%check
127130%cargo_test
128131%endif
129132
130- %files
133+ %files -f bootcdoclist.txt
131134%license LICENSE-MIT
132135%license LICENSE-APACHE
133136%license LICENSE.dependencies
134137%license cargo-vendor.txt
135- %doc README.md
136138%{_bindir }/bootc
137139%{_prefix }/lib/bootc/
138140%{_prefix }/lib/systemd/system-generators/*
139141%if %{with ostree_ext }
140142%{_prefix }/libexec/libostree/ext/*
141143%endif
142144%{_unitdir }/*
143- %{_docdir }/bootc/*
144145%{_mandir }/man* /bootc*
145146
146147%files -n system-reinstall-bootc
You can’t perform that action at this time.
0 commit comments