diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-05 18:19:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-05 18:19:38 +0000 |
commit | 9d815631e70d95ab3e3d01a13fa99e1144b9a948 (patch) | |
tree | 9dddcf56b707ad54d374a913120671cf5d36213e | |
parent | 41e58d55831e3ea8c5a623bcd02fd79a47f4e04c (diff) | |
download | perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar.gz perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar.bz2 perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar.xz perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.zip |
- drop $package->upgrade_files() (unused for a long time afaik)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.pm | 2 | ||||
-rw-r--r-- | URPM.xs | 13 |
3 files changed, 2 insertions, 15 deletions
@@ -1,3 +1,5 @@ +- drop $package->upgrade_files() (unused for a long time afaik) + Version 2.10 - 22 November 2007, by Pascal "Pixel" Rigaux - much simpler --auto-select algorithm @@ -655,8 +655,6 @@ The rpm's bare name. =item $package->update_header($filename, ...) -=item $package->upgrade_files() - =item $package->url() =item $package->vendor() @@ -100,7 +100,6 @@ typedef struct s_Package* URPM__Package; #define FILESIZE_TAG 1000001 #define FILTER_MODE_ALL_FILES 0 -#define FILTER_MODE_UPGRADE_FILES 1 #define FILTER_MODE_CONF_FILES 2 /* promote epoch sense should be : @@ -665,10 +664,6 @@ return_files(Header header, int filter_mode) { if (filter_mode) { if ((filter_mode & FILTER_MODE_CONF_FILES) && flags && (flags[i] & RPMFILE_CONFIG) == 0) continue; - if ((filter_mode & FILTER_MODE_UPGRADE_FILES) && fmodes && - (S_ISDIR(fmodes[i]) || S_ISLNK(fmodes[i]) || - !strncmp(s, "/dev", 4) || !strncmp(s, "/etc/rc.d", 9) || - (len >= 3 && !strncmp(s+len-3, ".la", 3)))) continue; } XPUSHs(sv_2mortal(newSVpv(s, len))); @@ -2296,14 +2291,6 @@ Pkg_conf_files(pkg) SPAGAIN; void -Pkg_upgrade_files(pkg) - URPM::Package pkg - PPCODE: - PUTBACK; - return_files(pkg->h, FILTER_MODE_UPGRADE_FILES); - SPAGAIN; - -void Pkg_changelog_time(pkg) URPM::Package pkg PPCODE: |