Accepting request 1154575 from graphics

- We can not replace a symlink with a directory on the directly
  Unregister the whole group manually in %pre with
  update-alternatives. (boo#1220818)
  Restore Requires(pre) on update-alternatives for the mean time. (forwarded request 1154340 from darix)

OBS-URL: https://build.opensuse.org/request/show/1154575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ImageMagick?expand=0&rev=290
This commit is contained in:
Ana Guerrero 2024-03-05 17:46:55 +00:00 committed by Git OBS Bridge
commit 0b801cd4b6
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Mar 2 23:03:12 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- We can not replace a symlink with a directory on the directly
Unregister the whole group manually in %pre with
update-alternatives. (boo#1220818)
Restore Requires(pre) on update-alternatives for the mean time.
-------------------------------------------------------------------
Tue Feb 27 20:28:12 UTC 2024 - Arjen de Korte <suse+build@de-korte.org>

View File

@ -103,6 +103,7 @@ Obsoletes: ImageMagick-config-7-upstream-open < 7.1.1.27
Obsoletes: ImageMagick-config-7-upstream-secure < 7.1.1.27
Obsoletes: ImageMagick-config-7-upstream-websafe < 7.1.1.27
Obsoletes: imagemagick-config-7-upstream-limited < 7.1.1.27
Requires(pre): update-alternatives
%package -n perl-PerlMagick
Summary: Perl interface for ImageMagick
@ -395,6 +396,11 @@ sed -i 's:%{buildroot}::' %{buildroot}/%{_libdir}/ImageMagick-%{mfr_version}/con
%post -n libMagick++%{libspec}%{cxxlibver} -p /sbin/ldconfig
%postun -n libMagick++%{libspec}%{cxxlibver} -p /sbin/ldconfig
%pre
if readlink -q /etc/ImageMagick-7 > /dev/null 2>&1 ; then
/usr/sbin/update-alternatives --remove-all ImageMagick-7
fi
%files
%license LICENSE
%doc NEWS.txt