Accepting request 1154340 from home:darix:branches: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.

OBS-URL: https://build.opensuse.org/request/show/1154340
OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=710
This commit is contained in:
Petr Gajdos 2024-03-04 07:19:45 +00:00 committed by Git OBS Bridge
parent bbf5d848b4
commit 2df608c305
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