From 5e855029988fb74e1de3466a6faf6030ed51f34f Mon Sep 17 00:00:00 2001 From: pius Date: Thu, 4 Nov 1999 19:29:15 +0000 Subject: [PATCH] - more fixes in perl.req Changed files: rpm-perl-macros.patch -> 1.12 rpm.spec -> 1.68 --- rpm-perl-macros.patch | 8 ++++++-- rpm.spec | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/rpm-perl-macros.patch b/rpm-perl-macros.patch index 7f034e2..e3bd721 100644 --- a/rpm-perl-macros.patch +++ b/rpm-perl-macros.patch @@ -157,7 +157,7 @@ next; } -@@ -108,8 +120,20 @@ +@@ -108,8 +120,24 @@ # will be included with the name sys/systeminfo.ph so only use the # basename of *.ph files @@ -174,8 +174,12 @@ + ($module =~ m/Mac|OS2|MSDOS|Win32|VMS|vmsish/) && next; + + # if the module ends with .pm strip it to leave only basename ++ ++ ($module =~ m/\.pm$/) && ($module =~ s/\.pm//g); ++ ++ # strip () from module name ( ex. Carp() ) -+ ($module =~ m/\.pm$/) && ($module =~ s!\.pm$!!g ); ++ ($module =~m/\(\)$/) && ($module =~ s/\(\)//g); $require{$module}=$version; $line{$module}=$_; diff --git a/rpm.spec b/rpm.spec index 23b5556..310cf5c 100644 --- a/rpm.spec +++ b/rpm.spec @@ -2,7 +2,7 @@ Summary: Red Hat & PLD Package Manager Summary(pl): Aplikacja do zarzĀ±dzania pakietami Name: rpm Version: 3.0.3 -Release: 15 +Release: 16 Group: Base Group(pl): Podstawowe Copyright: GPL -- 2.44.0