diff --git a/ImageMagick.spec.in b/ImageMagick.spec.in index a36a8d4ab..bc5042a2e 100644 --- a/ImageMagick.spec.in +++ b/ImageMagick.spec.in @@ -287,6 +287,8 @@ find %{buildroot} -name "perllocal.pod" |xargs rm -f # perlmagick: build files list echo "%defattr(-,root,root,-)" > perl-pkg-files +mv %{buildroot}/%{_prefix}/man/man3 %{buildroot}/%{_prefix}/share/man +mv %{buildroot}/%{_prefix}/lib/perl* %{buildroot}/%{_libdir} find %{buildroot}/%{_libdir}/perl* -type f -print \ | sed "s@^%{buildroot}@@g" > perl-pkg-files if [ -z perl-pkg-files ] ; then