aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-18 14:57:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-18 14:57:50 +0000
commit7d2474be7e1ee6f78fae20b8bf90e71f3336cf17 (patch)
tree049874427f16ddcb30f1be3509c8565840838ef1
parentc351bf64418b9d30a16300d74cdc22cab9320685 (diff)
downloadperl-URPM-7d2474be7e1ee6f78fae20b8bf90e71f3336cf17.tar
perl-URPM-7d2474be7e1ee6f78fae20b8bf90e71f3336cf17.tar.gz
perl-URPM-7d2474be7e1ee6f78fae20b8bf90e71f3336cf17.tar.bz2
perl-URPM-7d2474be7e1ee6f78fae20b8bf90e71f3336cf17.tar.xz
perl-URPM-7d2474be7e1ee6f78fae20b8bf90e71f3336cf17.zip
help perl_checker recognise packages used as classes
-rw-r--r--URPM.pm11
-rw-r--r--perl-URPM.spec5
2 files changed, 15 insertions, 1 deletions
diff --git a/URPM.pm b/URPM.pm
index afe43f4..11b4447 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -133,3 +133,14 @@ sub traverse_tag {
$count;
}
+
+package URPM::Package;
+our @ISA = qw(); # help perl_checker
+
+package URPM::Transaction;
+our @ISA = qw(); # help perl_checker
+
+package URPM::DB;
+our @ISA = qw(); # help perl_checker
+
+1;
diff --git a/perl-URPM.spec b/perl-URPM.spec
index cff51c7..ea63bc1 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,7 +1,7 @@
%define name perl-URPM
%define real_name URPM
%define version 0.81
-%define release 2mdk
+%define release 3mdk
%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Dec 18 2002 Pixel <pixel@mandrakesoft.com> 0.81-3mdk
+- help perl_checker recognise packages used as classes
+
* Wed Dec 18 2002 Pixel <pixel@mandrakesoft.com> 0.81-2mdk
- perl_checker fixes