aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-19 13:31:22 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-19 13:31:22 +0000
commita086d250ceea1cfc6b8fdc2af3c4b9a275df937c (patch)
tree0eccded313c57d3a25f597bd2a481c1880db9f04
parent787fd6f4f4c904510a477641dd21197b6564318c (diff)
downloadperl-URPM-a086d250ceea1cfc6b8fdc2af3c4b9a275df937c.tar
perl-URPM-a086d250ceea1cfc6b8fdc2af3c4b9a275df937c.tar.gz
perl-URPM-a086d250ceea1cfc6b8fdc2af3c4b9a275df937c.tar.bz2
perl-URPM-a086d250ceea1cfc6b8fdc2af3c4b9a275df937c.tar.xz
perl-URPM-a086d250ceea1cfc6b8fdc2af3c4b9a275df937c.zip
Rewrite and relocate doc at a more proper place. Update copyright notice.
-rw-r--r--URPM.pm17
1 files changed, 9 insertions, 8 deletions
diff --git a/URPM.pm b/URPM.pm
index 4a4e181..4d3c4aa 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -346,6 +346,13 @@ Recognized options are:
=back
+=item URPM::spec2srcheader($specfile)
+
+Returns a URPM::Package object containing the header of the source rpm produced
+by the evaluation of the specfile whose path is given as argument. All
+dependencies stored in this header are exactly the one needed to build the
+specfile.
+
=head2 The URPM::DB class
=over 4
@@ -671,7 +678,7 @@ Expands the specified macro.
Define a macro. For example,
- URPM::add_macro("vendor Mandrakesoft");
+ URPM::add_macro("vendor Mandriva");
my $vendor = URPM::expand("%vendor");
The 'noexpand' version doesn't expand literal newline characters in the
@@ -694,19 +701,13 @@ Sets rpm verbosity level. $level is an integer between 2 (RPMMESS_CRIT) and 7
=item rpmErrorWriteTo($fd)
-=item spec2srcheader($specfile)
-
-Return a URPM::Package containing the header of source rpm produce by the
-evaluation of $specfile. Which mean all dependencies are exactally the one
-need to build the specfile.
-
=back
=head1 COPYRIGHT
Copyright 2002, 2003, 2004, 2005 MandrakeSoft SA
-Copyright 2005 Mandriva SA
+Copyright 2005, 2006 Mandriva SA
Original author: FranE<ccedil>ois Pons.
Current maintainer: Rafael Garcia-Suarez