File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,16 @@ cat >%{?buildroot}/%{system_reinstall_bootc_install_podman_path} <<EOF
121
121
exec dnf -y install podman
122
122
EOF
123
123
chmod +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
124
127
125
128
%if %{with check }
126
129
%check
127
130
%cargo_test
128
131
%endif
129
132
130
- %files
133
+ %files -f bootcdoclist.txt
131
134
%license LICENSE-MIT
132
135
%license LICENSE-APACHE
133
136
%license LICENSE.dependencies
@@ -140,7 +143,6 @@ chmod +x %{?buildroot}/%{system_reinstall_bootc_install_podman_path}
140
143
%{_prefix }/libexec/libostree/ext/*
141
144
%endif
142
145
%{_unitdir }/*
143
- %{_docdir }/bootc/*
144
146
%{_mandir }/man* /bootc*
145
147
146
148
%files -n system-reinstall-bootc
You can’t perform that action at this time.
0 commit comments