From 6416c07fc43c6592242ec9895f2b035f68817181 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 25 Feb 2008 19:17:04 +0000 Subject: - do not add FILENAME_TAG and FILESIZE_TAG to hdlist anymore, deprecate ->filename and ->header_filename, deprecate URPM::Build build_hdlist and parse_rpms_build_headers --- URPM/Build.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'URPM') diff --git a/URPM/Build.pm b/URPM/Build.pm index f5a3aff..78942b9 100644 --- a/URPM/Build.pm +++ b/URPM/Build.pm @@ -18,6 +18,8 @@ sub _get_tmp_dir () { #- callback : perl code to be called for each package read (defaults pack_header) #- clean : bool to clean cache before (default no). #- packing : bool to create info (default is weird) +# +# deprecated sub parse_rpms_build_headers { my ($urpm, %options) = @_; my ($dir, %cache, @headers); @@ -402,6 +404,8 @@ sub compute_deps { #- idlist : id list of rpm to compute (defaults is start .. end) #- ratio : compression ratio (default 4). #- split : split ratio (default 400kb, see MDV::Packdrakeng). +# +# deprecated sub build_hdlist { my ($urpm, %options) = @_; my ($dir, $ratio, @idlist); -- cgit v1.2.1