restore .la files for plugins incorrectly removed in previous release [release 7.1.2.3-3mamba;Wed Sep 10 2025]

This commit is contained in:
2025-09-11 09:59:31 +02:00
parent 31edd16f26
commit 460269953f

View File

@@ -6,9 +6,12 @@
%define maj2ver %(echo %version | cut -d. -f 1-2)
%define MAJver %(echo %version | cut -d. -f 1)
# Disable automatic .la file removal
%global __brp_remove_la_files %nil
Name: imagemagick
Version: 7.1.2.3
Release: 2mamba
Release: 3mamba
Summary: Tools and libraries to read, write, and manipulate an image in many image formats
Group: Applications/Graphics
Vendor: openmamba
@@ -72,8 +75,6 @@ BuildRequires: transfig
%if "%{stage1}" != "1"
BuildRequires: gnuplot
%endif
#BuildRequires: xterm
BuildConflicts: libMagick-devel < 7.1.0
Obsoletes: ImageMagick62 < 7.1.0.4
Provides: ImageMagick
Obsoletes: ImageMagick <= 7.1.2.3-1mamba
@@ -199,6 +200,9 @@ find %{buildroot}%{_prefix}/lib \
ln -s ImageMagick-%{MAJver} %{buildroot}%{_includedir}/ImageMagick
# Delete *ONLY* _libdir/*.la files! .la files used internally to handle plugins
rm %{buildroot}%{_libdir}/*.la
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@@ -273,6 +277,9 @@ fi
%{_docdir}/ImageMagick-%{MAJver}/www/*
%changelog
* Wed Sep 10 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.2.3-3mamba
- restore .la files for plugins incorrectly removed in previous release
* Wed Sep 03 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.2.3-2mamba
- source renamed from ImageMagick