|
|
@ -139,12 +139,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
# perlmagick: fix perl path of demo files
|
|
|
|
# perlmagick: fix perl path of demo files
|
|
|
|
%{__perl} -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl
|
|
|
|
%{__perl} -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl
|
|
|
|
|
|
|
|
|
|
|
|
# perlmagick: remove special files
|
|
|
|
find $RPM_BUILD_ROOT -name "*.bs" |xargs rm -f
|
|
|
|
find $RPM_BUILD_ROOT%{_libdir} -name perllocal.pod -o -name .packlist \
|
|
|
|
find $RPM_BUILD_ROOT -name ".packlist" |xargs rm -f
|
|
|
|
-o -name "*.bs" | xargs -ri rm -f {}
|
|
|
|
find $RPM_BUILD_ROOT -name "perllocal.pod" |xargs rm -f
|
|
|
|
|
|
|
|
|
|
|
|
# perlmagick: no empty directories
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT%{_libdir} -depth -type d -a -empty -exec rmdir {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# perlmagick: build files list
|
|
|
|
# perlmagick: build files list
|
|
|
|
echo "%defattr(-,root,root)" > perl-pkg-files
|
|
|
|
echo "%defattr(-,root,root)" > perl-pkg-files
|
|
|
|