X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-perl-macros.patch;h=c8a084331a7f265806aed5a9d267467f69fdbadc;hb=72d080a844407fb856f28128dc70db4c4aeb2f5d;hp=b560053739df222f5f24e0cb2eaf9aa37358ee92;hpb=5b0f0ac9a55211821b0778001221c01854a2e4d2;p=packages%2Frpm.git diff --git a/rpm-perl-macros.patch b/rpm-perl-macros.patch index b560053..c8a0843 100644 --- a/rpm-perl-macros.patch +++ b/rpm-perl-macros.patch @@ -1,35 +1,3 @@ ---- rpm-4.1/scripts/Makefile.am.wiget Thu Aug 22 19:31:42 2002 -+++ rpm-4.1/scripts/Makefile.am Wed Sep 18 23:52:19 2002 -@@ -31,4 +31,5 @@ - magic.prov magic.req perl.prov perl.req rpmdiff rpmdiff.cgi \ - rpm.daily rpm.log rpm.xinetd rpm2cpio.sh \ - sql.prov sql.req tcl.req tgpg trpm u_pkg.sh \ -+ find-perl-requires find-perl-provides \ - vpkg-provides.sh vpkg-provides2.sh ---- rpm-4.1/scripts/perl.prov.wiget Fri Feb 1 16:20:26 2002 -+++ rpm-4.1/scripts/perl.prov Wed Sep 18 23:50:15 2002 -@@ -47,7 +47,9 @@ - - if ("@ARGV") { - foreach (@ARGV) { -- process_file($_); -+ if (! m=(/(doc|usr/src)/|\.(so|gz|ph|pod|h|html)$)=) { -+ process_file($_); -+ } - } - } else { - -@@ -55,7 +57,9 @@ - # contents of the file. - - foreach (<>) { -- process_file($_); -+ if (! m=(/(doc|usr/src)/|\.(so|gz|ph|pod|h|html)$)=) { -+ process_file($_); -+ } - } - } - --- rpm-4.1/scripts/perl.req.wiget Mon Jun 3 22:56:33 2002 +++ rpm-4.1/scripts/perl.req Wed Sep 18 23:50:15 2002 @@ -1,4 +1,4 @@ @@ -115,22 +83,7 @@ AC_CONFIG_SUBDIRS(popt beecrypt zlib libelf db3) AC_OUTPUT([ Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec -+ macros.perl scripts/perl.req scripts/perl.prov ++ scripts/perl.req scripts/perl.prov rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat scripts/macros.perl scripts/macros.php scripts/macros.python ---- rpm-4.1/macros.in.wiget Sun Sep 1 00:30:19 2002 -+++ rpm-4.1/macros.in Wed Sep 18 23:50:46 2002 -@@ -1012,8 +1012,10 @@ - # %dir %{perl_sitearch}/auto/Image - # - %requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") --%perl_sitearch %(eval "`perl -V:installsitearch`"; echo $installsitearch) --%perl_archlib %(eval "`perl -V:installarchlib`"; echo $installarchlib) -+# -+# NOTE: %{perl_sitearch}, %{perl_archlib} and %{perl_sitelib} macros -+# has been moved to macros.perl (see info in this file for details). -+# - - #------------------------------------------------------------------------------ - # arch macro for all Intel i?86 compatibile processors