--- cauldron/imagemagick/current/SPECS/imagemagick.spec 2011/09/18 01:15:37 144787 +++ cauldron/imagemagick/current/SPECS/imagemagick.spec 2011/09/25 13:18:11 147713 @@ -12,7 +12,7 @@ %define rversion 6.7.2 # their "minor" version -%define minor_rev 7 +%define minor_rev 8 # some other funny version # (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel @@ -193,7 +193,7 @@ %configure2_5x \ --docdir=%{_defaultdocdir}/imagemagick \ --with-pic \ - --enable-shared \ + --enable-shared --disable-static \ --enable-fast-install \ --disable-ltdl-install \ --with-threads \ @@ -245,9 +245,8 @@ rm -rf installed_docs; mv %{buildroot}/installed_docs . # Remove unpackaged files -rm -f %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders/*.a \ - %{buildroot}%{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/filters/*.a \ - %{buildroot}%{_libdir}/libltdl* +find %{buildroot} -name '*.la' | xargs rm +rm -f %{buildroot}%{_libdir}/libltdl* %multiarch_binaries %{buildroot}%{_bindir}/Magick-config %multiarch_binaries %{buildroot}%{_bindir}/Magick++-config @@ -338,8 +337,6 @@ %{_bindir}/MagickCore-config %{_bindir}/MagickWand-config %{_bindir}/Wand-config -%attr(0644,root,root) %{_libdir}/*.a -%attr(0644,root,root) %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc @@ -353,5 +350,3 @@ %defattr(-,root,root) %doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE %doc QuickStart.txt installed_docs/* - -