Use %_docdir in doc cleanup
This is necessary when building with other prefixes, such as in flatpaks.
This commit is contained in:
parent
c59fc38d09
commit
f9607d53de
@ -36,9 +36,9 @@ of each playback stream separately.
|
||||
%install
|
||||
%make_install V=1
|
||||
|
||||
rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/README
|
||||
rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/README.html
|
||||
rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/style.css
|
||||
rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/README
|
||||
rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/README.html
|
||||
rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/style.css
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user