disable automatic .la files removal [release 7.1.0.48-2mamba;Wed Sep 21 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 17:46:06 +01:00
parent fef42d3c73
commit 9dc7a80194

View File

@ -6,9 +6,13 @@
%define maj2ver %(echo %version | cut -d. -f 1-2) %define maj2ver %(echo %version | cut -d. -f 1-2)
%define MAJver %(echo %version | cut -d. -f 1) %define MAJver %(echo %version | cut -d. -f 1)
# Disable automatic .la file removal
%global __brp_remove_la_files %nil
Name: ImageMagick Name: ImageMagick
Version: 7.1.0.48 Version: 7.1.0.48
Release: 1mamba Release: 2mamba
Summary: Tools and libraries to read, write, and manipulate an image in many image formats Summary: Tools and libraries to read, write, and manipulate an image in many image formats
Group: Applications/Graphics Group: Applications/Graphics
Vendor: openmamba Vendor: openmamba
@ -22,7 +26,6 @@ BuildRequires: glibc-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
BuildRequires: libSM-devel BuildRequires: libSM-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXt-devel BuildRequires: libXt-devel
@ -58,7 +61,6 @@ BuildRequires: libperl
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libraw-devel BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtermcap-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libwebp-devel BuildRequires: libwebp-devel
@ -70,6 +72,7 @@ BuildRequires: libzip-devel
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpng-devel >= 1.6.38
BuildRequires: libraw-devel >= 0.19.0-1mamba BuildRequires: libraw-devel >= 0.19.0-1mamba
BuildRequires: libsane-backends >= 1.0.13 BuildRequires: libsane-backends >= 1.0.13
BuildRequires: tetex-dvips BuildRequires: tetex-dvips
@ -201,6 +204,10 @@ ln -s ImageMagick-%{MAJver} %{buildroot}%{_includedir}/ImageMagick
#ln -s libMagick++-Q16HDRI.so.7.0.0 %{buildroot}%{_libdir}/libMagick++-Q16HDRI.so #ln -s libMagick++-Q16HDRI.so.7.0.0 %{buildroot}%{_libdir}/libMagick++-Q16HDRI.so
#ln -s libMagickCore-Q16HDRI.so.7.0.0 %{buildroot}%{_libdir}/libMagickCore-Q16HDRI.so #ln -s libMagickCore-Q16HDRI.so.7.0.0 %{buildroot}%{_libdir}/libMagickCore-Q16HDRI.so
# Delete *ONLY* _libdir/*.la files! .la files used internally to handle plugins
rm %{buildroot}%{_libdir}/*.la
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -278,6 +285,9 @@ fi
%{_docdir}/ImageMagick-%{MAJver}/www/* %{_docdir}/ImageMagick-%{MAJver}/www/*
%changelog %changelog
* Wed Sep 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.0.48-2mamba
- disable automatic .la files removal
* Wed Sep 14 2022 Automatic Build System <autodist@mambasoft.it> 7.1.0.48-1mamba * Wed Sep 14 2022 Automatic Build System <autodist@mambasoft.it> 7.1.0.48-1mamba
- automatic version update by autodist - automatic version update by autodist