summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf/MediaCFG.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-08-23 08:58:09 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-08-23 08:58:09 +0000
commitf274bd9b63b02a5b149f529e614252dcaf86cb1f (patch)
tree8e4bd6dfc261bc5b382d8b29eae8519d0040a5b0 /lib/MDV/Distribconf/MediaCFG.pm
parente87825c1c91e667ad93869d57c2bfdb895e98cb6 (diff)
downloadperl-MDV-Distribconf-f274bd9b63b02a5b149f529e614252dcaf86cb1f.tar
perl-MDV-Distribconf-f274bd9b63b02a5b149f529e614252dcaf86cb1f.tar.gz
perl-MDV-Distribconf-f274bd9b63b02a5b149f529e614252dcaf86cb1f.tar.bz2
perl-MDV-Distribconf-f274bd9b63b02a5b149f529e614252dcaf86cb1f.tar.xz
perl-MDV-Distribconf-f274bd9b63b02a5b149f529e614252dcaf86cb1f.zip
- fix typo
Diffstat (limited to 'lib/MDV/Distribconf/MediaCFG.pm')
-rw-r--r--lib/MDV/Distribconf/MediaCFG.pm19
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/MDV/Distribconf/MediaCFG.pm b/lib/MDV/Distribconf/MediaCFG.pm
index 1f7383a..c1b33c6 100644
--- a/lib/MDV/Distribconf/MediaCFG.pm
+++ b/lib/MDV/Distribconf/MediaCFG.pm
@@ -4,9 +4,7 @@ use strict;
use warnings;
use MDV::Distribconf;
-our $VERSION =
- (qq$Revision$ =~ /(\d+)/)[0] . '.' .
- MDV::Distribconf::mymediacfg_version();
+our $VERSION = (qq$Revision$ =~ /(\d+)/)[0];
=head1 NAME
@@ -129,7 +127,7 @@ The file holding public gpg key used to sign rpms in this media.
=cut
-$value->{srpms} = { deny => 'rpms' };
+$value->{srpms} = { deny => 'rpms', cross => 'rpms', ismedialist => 1 };
=head3 srpms
@@ -138,7 +136,7 @@ the list of medias holding corresponding sources rpms.
=cut
-$value->{rpms} = { deny => 'srpms' };
+$value->{rpms} = { deny => 'srpms', cross => 'srpms', ismedialist => 1 };
=head3 rpms
@@ -147,7 +145,16 @@ the list of media holding binaries rpms build by srpms from this media.
=cut
-$value->{debug_for} = {};
+$value->{updates_for} = { ismedialist => 1 };
+
+=head3 updates_for
+
+If the media contain updates, it contain the list of media for which
+rpms are updates.
+
+=cut
+
+$value->{debug_for} = { ismedialist => 1 };
=head3 debug_for