aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.pm2
-rw-r--r--URPM.xs13
3 files changed, 2 insertions, 15 deletions
diff --git a/NEWS b/NEWS
index 8cb7aa1..640efd3 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/URPM.pm b/URPM.pm
index 3a25b4f..30b1475 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -655,8 +655,6 @@ The rpm's bare name.
=item $package->update_header($filename, ...)
-=item $package->upgrade_files()
-
=item $package->url()
=item $package->vendor()
diff --git a/URPM.xs b/URPM.xs
index 48b3358..505f895 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -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: