summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-10-05 16:27:15 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-10-05 16:27:15 +0000
commita9051e81511689db6d6e5ec646b0fa3295e1ed37 (patch)
treea20824f780f7e0723183c98e206ddc06b7d89167
parent6723cd54abd739b8d3c60d36ad5e8bb409c070a5 (diff)
downloadperl-RPM4-a9051e81511689db6d6e5ec646b0fa3295e1ed37.tar
perl-RPM4-a9051e81511689db6d6e5ec646b0fa3295e1ed37.tar.gz
perl-RPM4-a9051e81511689db6d6e5ec646b0fa3295e1ed37.tar.bz2
perl-RPM4-a9051e81511689db6d6e5ec646b0fa3295e1ed37.tar.xz
perl-RPM4-a9051e81511689db6d6e5ec646b0fa3295e1ed37.zip
drop support for repackage (not working anymore since rpm-4.6)
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@231 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/src/RPM4.xs12
2 files changed, 1 insertions, 12 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index 2c2fdbd..b0aa2b2 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,3 +1,4 @@
+- drop support for repackage (not working anymore since rpm-4.6)
- fix srcrpm()
- fix --rpmversion (broken for 6+ years...)
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index b668850..3f219eb 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -276,15 +276,6 @@ static void *
case RPMCALLBACK_UNINST_STOP:
s_what = "UNINST_STOP";
break;
- case RPMCALLBACK_REPACKAGE_PROGRESS:
- s_what = "REPACKAGE_PROGRESS";
- break;
- case RPMCALLBACK_REPACKAGE_START:
- s_what = "REPACKAGE_START";
- break;
- case RPMCALLBACK_REPACKAGE_STOP:
- s_what = "REPACKAGE_STOP";
- break;
case RPMCALLBACK_UNPACK_ERROR:
s_what = "UNPACKAGE_ERROR";
break;
@@ -1481,9 +1472,6 @@ Ts_transflag(ts, sv_transflag = NULL)
CODE:
if (sv_transflag != NULL) {
transflags = sv2transflags(sv_transflag);
- /* Take care to rpm config (userland) */
- if (rpmExpandNumeric("%{?_repackage_all_erasures}"))
- transflags |= RPMTRANS_FLAG_REPACKAGE;
RETVAL = rpmtsSetFlags(ts, transflags);
} else {
RETVAL = rpmtsFlags(ts);