Petr Gajdos 2024-04-09 10:45:00 +00:00 committed by Git OBS Bridge
parent ea4798bf5c
commit e0ad5bb641

View File

@ -32,6 +32,7 @@
%define urw_base35_fonts 0
# do/don't pull djvulibre dependency
%bcond_without djvu
BuildRequires: -strace
Name: ImageMagick
Version: %{mfr_version}.%{mfr_revision}
Release: 0
@ -381,7 +382,7 @@ ln -s ./MagickWand %{buildroot}%{_includedir}/ImageMagick-%{maj}/wand
# these will be included via %%doc
rm -r %{buildroot}%{_datadir}/doc/ImageMagick-%{maj}/
rm %{buildroot}%{_libdir}/*.la
rm -r %{buildroot}/usr/lib/perl5/x86_64-linux-thread-multi/
rm -r %{buildroot}/usr/lib/perl5/*linux-thread-multi*/
# remove RPATH from perl module
perl_module=$(find %{buildroot}%{_prefix}/lib/perl5 -name '*.so')
chmod 755 $perl_module