1 diff -urN rpm-4.3.org/configure.ac rpm-4.3/configure.ac
2 --- rpm-4.3.org/configure.ac 2004-01-07 01:51:35.251160244 +0100
3 +++ rpm-4.3/configure.ac 2004-01-07 01:55:53.198560246 +0100
5 Doxyfile Makefile macros rpmpopt rpm.spec
6 rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile
7 scripts/Makefile scripts/macros.perl scripts/macros.php
8 + scripts/perl.req scripts/perl.prov
9 scripts/macros.python tools/Makefile misc/Makefile doc/Makefile
10 doc/manual/Makefile doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile
11 doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile
12 diff -urN rpm-4.3.org/scripts/perl.req rpm-4.3/scripts/perl.req
13 --- rpm-4.3.org/scripts/perl.req 2004-01-07 01:51:04.911464416 +0100
14 +++ rpm-4.3/scripts/perl.req 2004-01-07 01:55:17.030076058 +0100
19 # RPM (and it's source code) is covered under two separate licenses.
26 + if (m=/usr/(sbin|bin|lib|share|X11R6/(lib|bin))/=) {
27 + if (! m=(/(doc|man|info|usr/src)/|\.(so|ph|h|html|pod)$)=) {
35 # contents of the file.
39 + if (m=/usr/(sbin|bin|lib|share|X11R6/(lib|bin))/=) {
40 + if (! m=(/(doc|man|info|usr/src)/|\.(so|ph|h|html|pod)$)=) {
48 foreach $module (sort keys %require) {
49 if (length($require{$module}) == 0) {
50 - print "perl($module)\n";
51 + if ($module =~ /^[0-9._]+$/) {
52 + print "perl >= $module\n";
54 + print "perl($module)\n";
58 # I am not using rpm3.0 so I do not want spaces arround my
60 # will be included with the name sys/systeminfo.ph so only use the
61 # basename of *.ph files
63 - ($module =~ m/\.ph$/) && next;
64 + # ($module =~ m/\.ph$/) && ($module =~ s!.*/!!g );
66 + # there is no need to generate dependencies for ph, pl or test files
67 + # so let's just skip them.
69 + ($module =~ m/\.(ph|pl|t)$/) && next;
71 + # skip all modules for platforms other than linux.
73 + ($module =~ m/Mac|OS2|MSDOS|Win32|VMS|vmsish/) && next;
75 + # if the module name starts in a dot it is not a module name.
77 + ($module =~ m/^\./) && next;
79 + # if the module ends with .pm strip it to leave only basename.
81 + $module =~ s/\.pm$//;
83 + $module =~ s/\//::/;
85 + # trim off trailing parenthesis if any. Sometimes people pass
86 + # the module an empty list.
88 + $module =~ s/\(\s*\)$//;
90 $require{$module}=$version;