diff --git a/macros.perl b/macros.perl index 5b9dad0..4afad47 100644 --- a/macros.perl +++ b/macros.perl @@ -95,7 +95,10 @@ for i in ${all_dir[@]}; do\ fi\ done\ # add man pages\ +# if exist :)\ +if [ -d "${RPM_BUILD_ROOT}%{_mandir}" ]; then\ fgen_file "%{_mandir}/man?/*"\ +fi\ \ # add packlist file\ # generated fom perllocal.pod\ diff --git a/perl.changes b/perl.changes index f32c544..3f851dc 100644 --- a/perl.changes +++ b/perl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 12 10:53:11 UTC 2010 - chris@computersalat.de + +- fix for macros.perl + o only add mandir if exist :) + ------------------------------------------------------------------- Thu Jan 28 12:47:02 CET 2010 - rguenther@suse.de