diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-06 10:55:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-06 10:55:40 +0000 |
commit | 28dc869ae9ed109b6cd9a6e4573290d82f363383 (patch) | |
tree | aefd37ee4980a42142617354e62bb03df2f899a6 /fake_packages | |
parent | ddef2065aab03dc1e638d8489fe697b026875965 (diff) | |
download | perl_checker-28dc869ae9ed109b6cd9a6e4573290d82f363383.tar perl_checker-28dc869ae9ed109b6cd9a6e4573290d82f363383.tar.gz perl_checker-28dc869ae9ed109b6cd9a6e4573290d82f363383.tar.bz2 perl_checker-28dc869ae9ed109b6cd9a6e4573290d82f363383.tar.xz perl_checker-28dc869ae9ed109b6cd9a6e4573290d82f363383.zip |
update RPM4 & URPM fake packages
Diffstat (limited to 'fake_packages')
-rw-r--r-- | fake_packages/RPM4.pm | 14 | ||||
-rw-r--r-- | fake_packages/URPM.pm | 21 |
2 files changed, 11 insertions, 24 deletions
diff --git a/fake_packages/RPM4.pm b/fake_packages/RPM4.pm index 554cd33..8e0fb78 100644 --- a/fake_packages/RPM4.pm +++ b/fake_packages/RPM4.pm @@ -4,7 +4,7 @@ our @ISA = qw(); sub N { my ($_msg, @_more_paras) = @_ } sub add_macro() {} sub addmacro { my ($_macro) = @_ } -sub archscore { my ($_arch, $_o_build) = @_ } +sub archscore { my ($_data, $_o_build) = @_ } sub buildhost() {} sub compare_evr() {} sub del_macro() {} @@ -26,26 +26,20 @@ sub loadmacrosfile { my ($_filename) = @_ } sub moduleinfo() {} sub newdb { my ($_o_write , $_o_rootdir) = @_ } sub newdep { my ($_sv_depTag, $_Name, $_o_sv_sense, $_o_sv_evr) = @_ } -sub newspec { my ($_o_filename , $_o_passphrase, $_o_rootdir, $_o_cookies, $_o_anyarch, $_o_force, $_o_verify) = @_ } -sub osscore { my ($_os, $_o_build) = @_ } +sub newspec { my ($_o_filename , $_o_anyarch, $_o_force) = @_ } +sub osscore { my ($_data, $_o_build) = @_ } sub parserpms { my (@_more_paras) = @_ } -sub platformscore { my ($_platform) = @_ } sub querytag() {} sub readconfig { my ($_o_rcfile , $_o_target) = @_ } sub resetmacros() {} sub resetrc() {} sub rpm2header { my ($_filename, $_o_sv_vsflags) = @_ } -sub rpmcpuinfodep { my ($_o_path ) = @_ } sub rpmdbinit { my ($_o_rootdir ) = @_ } sub rpmdbrebuild { my ($_o_rootdir ) = @_ } sub rpmdbverify { my ($_o_rootdir ) = @_ } -sub rpmgetconfdep { my ($_o_path ) = @_ } sub rpmlibdep() {} sub rpmlog { my ($_svcode, $_msg) = @_ } -sub rpmpipedep { my ($_cmd, $_o_tag) = @_ } sub rpmresign { my ($_passphrase, $_rpmfile) = @_ } -sub rpmsysinfodep { my ($_o_sysinfofile ) = @_ } -sub rpmunamedep() {} sub rpmvercmp { my ($_one, $_two) = @_ } sub setlogcallback { my ($_function) = @_ } sub setlogfile { my ($_filename) = @_ } @@ -100,7 +94,7 @@ sub issrc { my ($_h) = @_ } sub listtag { my ($_h) = @_ } sub matchdep { my ($_header, $_Dep, $_o_sv_nopromote) = @_ } sub namematchdep { my ($_header, $_Dep, $_o_sv_nopromote) = @_ } -sub nevr { my ($_header) = @_ } +sub nevr { my ($_h) = @_ } sub new { my ($_class, $_o_arg) = @_ } sub osscore { my ($_o_header) = @_ } sub queryformat { my ($_h, $_query) = @_ } diff --git a/fake_packages/URPM.pm b/fake_packages/URPM.pm index 29e9ab5..8ec5365 100644 --- a/fake_packages/URPM.pm +++ b/fake_packages/URPM.pm @@ -38,7 +38,7 @@ sub _unselect_package_deprecated_by { my ($_urpm, $_db, $_state, $_diff_provides sub _unselect_package_deprecated_by_property { my ($_urpm, $_db, $_state, $_pkg, $_diff_provides_h, $_n, $_o, $_o_v) = @_ } sub add_macro { my ($_o_s) = @_ } sub add_macro_noexpand { my ($_macro) = @_ } -sub archscore { my ($_arch) = @_ } +sub archscore { my ($_param) = @_ } sub backtrack_selected { my ($_urpm, $_db, $_state, $_dep, $_diff_provides, @_more_paras) = @_ } sub backtrack_selected_psel_keep { my ($_urpm, $_db, $_state, $_psel, $_o_keep) = @_ } sub bind_rpm_textdomain_codeset() {} @@ -65,16 +65,13 @@ sub get_gpg_fingerprint { my ($_filename) = @_ } sub get_installed_arch { my ($_db, $_o_n) = @_ } sub import_needed_pubkeys() {} sub import_needed_pubkeys_from_file { my ($_db, $_pubkey_file, $_o_o_callback) = @_ } -sub import_pubkey { my (@_more_paras) = @_ } sub import_pubkey_file { my ($_db, $_filename) = @_ } sub is_package_installed { my ($_db, $_o_pkg) = @_ } -sub list_rpm_tag { my ($_o_urpm) = @_ } sub listlength { my (@_more_paras) = @_ } sub loadmacrosfile { my ($_filename) = @_ } sub make_delta_rpm() {} -sub min() {} sub new { my ($_class, @_more_paras) = @_ } -sub osscore { my ($_os) = @_ } +sub osscore { my ($_param) = @_ } sub packages_by_name { my ($_urpm, $_o_name) = @_ } sub packages_obsoleting { my ($_urpm, $_o_name) = @_ } sub packages_providing { my ($_urpm, $_o_name) = @_ } @@ -89,13 +86,11 @@ sub parse_rpms_build_headers { my ($_urpm, @_more_paras) = @_ } sub parse_synthesis { my ($_urpm, $_filename, @_more_paras) = @_ } sub parse_synthesis__XS { my ($_urpm, $_filename, @_more_paras) = @_ } sub pkg2media { my ($_mediums, $_o_p) = @_ } -sub platformscore { my ($_platform) = @_ } sub property2name { my ($_o_property) = @_ } sub property2name_op_version { my ($_o_property) = @_ } sub property2name_range { my ($_o_property) = @_ } sub provided_version_that_overlaps { my ($_pkg, $_o_provide_name) = @_ } -sub query_pkg { my ($_undef, $_pkg, $_o_query) = @_ } -sub ranges_overlap { my ($_a, $_b, $_o_b_nopromote) = @_ } +sub ranges_overlap { my ($_a, $_b) = @_ } sub read_config_files() {} sub removed_or_obsoleted_packages { my ($_o_state) = @_ } sub request_packages_to_upgrade { my ($_urpm, $_db, $_state, $_requested, @_more_paras) = @_ } @@ -124,7 +119,6 @@ sub stream2header { my ($_fp) = @_ } sub strict_arch { my ($_o_urpm) = @_ } sub strict_arch_check { my ($_installed_pkg, $_o_pkg) = @_ } sub strict_arch_check_installed { my ($_db, $_o_pkg) = @_ } -sub tag2id { my (@_more_paras) = @_ } sub traverse { my ($_urpm, $_o_callback) = @_ } sub traverse_tag { my ($_urpm, $_tag, $_names, $_o_callback) = @_ } sub traverse_tag_find { my ($_urpm, $_tag, $_name, $_o_callback) = @_ } @@ -142,7 +136,7 @@ sub with_state_unsatisfied_requires { my ($_urpm, $_db, $_state, $_name, $_o_do) package URPM::DB; our @ISA = qw(); sub DESTROY { my ($_db) = @_ } -sub create_transaction { my ($_db, $_o_prefix) = @_ } +sub create_transaction { my ($_db) = @_ } sub open { my ($_o_prefix, $_o_write_perm) = @_ } sub rebuild { my ($_o_prefix) = @_ } sub traverse { my ($_db, $_callback) = @_ } @@ -170,9 +164,9 @@ sub conflicts { my ($_pkg) = @_ } sub conflicts_nosense { my ($_pkg) = @_ } sub description { my ($_pkg) = @_ } sub dirnames { my ($_pkg) = @_ } -sub distepoch { my ($_pkg) = @_ } sub distribution { my ($_pkg) = @_ } sub disttag { my ($_pkg) = @_ } +sub doc_files { my ($_pkg) = @_ } sub dump_flags { my ($_o_pkg) = @_ } sub epoch { my ($_pkg) = @_ } sub excludearchs { my ($_pkg) = @_ } @@ -210,19 +204,18 @@ sub id { my ($_pkg) = @_ } sub installtid { my ($_pkg) = @_ } sub is_arch_compat { my ($_pkg) = @_ } sub is_arch_compat__XS { my ($_pkg) = @_ } -sub is_platform_compat { my ($_pkg) = @_ } sub license { my ($_pkg) = @_ } sub name { my ($_pkg) = @_ } sub obsoletes { my ($_pkg) = @_ } sub obsoletes_nosense { my ($_pkg) = @_ } -sub obsoletes_overlap { my ($_pkg, $_s, $_o_b_nopromote, $_o_direction) = @_ } +sub obsoletes_overlap { my ($_pkg, $_s) = @_ } sub os { my ($_pkg) = @_ } sub pack_header { my ($_pkg) = @_ } sub packager { my ($_pkg) = @_ } sub payload_format { my ($_pkg) = @_ } sub provides { my ($_pkg) = @_ } sub provides_nosense { my ($_pkg) = @_ } -sub provides_overlap { my ($_pkg, $_s, $_o_b_nopromote, $_o_direction) = @_ } +sub provides_overlap { my ($_pkg, $_s) = @_ } sub queryformat { my ($_pkg, $_fmt) = @_ } sub rate { my ($_pkg) = @_ } sub release { my ($_pkg) = @_ } |