This commit is contained in:
parent
71d1e5137f
commit
14d198c71d
@ -1146,7 +1146,7 @@ rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
|
||||
# We have ton of duped files so run over it
|
||||
%fdupes %{buildroot}/usr
|
||||
|
||||
%pre
|
||||
%pretrans
|
||||
# do not crate cache for bundled extensions because it is not secure
|
||||
# rather remove it (fdo#53006, fdo#51252, bnc#769448)
|
||||
# Remove after 12.2 is out of support/migration scope.
|
||||
@ -1160,6 +1160,7 @@ helpdir="%{_libdir}/%{name}/help"
|
||||
autotextdir="%{_libdir}/%{name}/share/autotext"
|
||||
if [ -d "$helpdir" ]; then
|
||||
rm -rf "$helpdir" || true
|
||||
rm -f %{_datadir}/%{name}/help/* || true
|
||||
ln -s "%{_datadir}/%{name}/help" "$helpdir"
|
||||
fi
|
||||
if [ -d "$autotextdir" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user