Fix removal of streaming plugin.
This commit is contained in:
parent
aef3b97d93
commit
13b6512f5e
@ -788,9 +788,13 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||
# rust plugin is built. Delete it if this happens.
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/nbdkit-rust-plugin.3*
|
||||
|
||||
# Remove the streaming plugin (deprecated upstream).
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-streaming-plugin.so
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-streaming-plugin.1*
|
||||
|
||||
%if 0%{?rhel}
|
||||
# In RHEL, remove some plugins we cannot --disable.
|
||||
for f in cc cdi streaming torrent; do
|
||||
for f in cc cdi torrent; do
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-$f-plugin.so
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man?/nbdkit-$f-plugin.*
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user