X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rpm%2Fbuild%2Fnative%2FOvid.diff;fp=rpm%2Fbuild%2Fnative%2FOvid.diff;h=81db7c5a824c91b3d9aa7fd430926ace90771a83;hp=0000000000000000000000000000000000000000;hb=b80e996959d9492e07ada4936e566f4b97dd5808;hpb=b87e4baaaafca4040c13f1bac4ca22bacc3e668e diff --git a/rpm/build/native/Ovid.diff b/rpm/build/native/Ovid.diff new file mode 100644 index 000000000..81db7c5a8 --- /dev/null +++ b/rpm/build/native/Ovid.diff @@ -0,0 +1,30 @@ +--- Package.pm.orig 2007-05-25 09:54:14.000000000 -0400 ++++ Package.pm 2007-07-07 15:35:20.000000000 -0400 +@@ -165,6 +165,7 @@ + push @out, $self->provreq($n); + } + ++ return join("\n", map { "Provides: $_"; } @out) if scalar(@out) > 5; + return join('', 'Provides: ', join ' ', @out); + } + +@@ -376,10 +377,15 @@ + + %install + +-make PREFIX=%{_prefix} \ +- DESTDIR=%{buildroot} \ +- INSTALLDIRS=@installdirs@ \ +- install ++if [ -f Build.PL -a -f Build ] ; then ++ ./Build destdir=%{buildroot} \ ++ install ++else ++ make PREFIX=%{_prefix} \ ++ DESTDIR=%{buildroot} \ ++ INSTALLDIRS=@installdirs@ \ ++ install ++fi + + [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress +