|
|
|
@ -114,12 +114,14 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
|
sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
make %{?_smp_mflags} perl-build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot} -C PerlMagick
|
|
|
|
|
|
|
|
|
|
# perlmagick: fix perl path of demo files
|
|
|
|
|
%{__perl} -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl
|
|
|
|
|