mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-10 23:18:51 -04:00
Wrap the %pretrans script in %if %{with docs} ... %{endif}.
This commit is contained in:
parent
ebdd427a2d
commit
ddc344c347
1 changed files with 2 additions and 0 deletions
|
@ -1566,6 +1566,7 @@ mkdir -p %{SAGE_LOCAL}/var/lib/sage/installed/database_cremona_ellcurve-%{cremon
|
|||
%triggerun -- %{name}-data-elliptic_curves_large
|
||||
rm -fr %{SAGE_LOCAL}/var/lib/sage/installed/database_cremona_ellcurve-%{cremona_ver}
|
||||
|
||||
%if %{with docs}
|
||||
########################################################################
|
||||
# Fix directory/symlink conflicts introduced by fix for bz 1875606.
|
||||
# This can be removed when Fedora 36 reaches EOL.
|
||||
|
@ -1653,6 +1654,7 @@ for _, path in ipairs(paths) do
|
|||
end
|
||||
end
|
||||
end
|
||||
%endif
|
||||
|
||||
%files
|
||||
# GPLv2+
|
||||
|
|
Loading…
Add table
Reference in a new issue