1 |
diff -Nur -x '*.orig' -x '*.rej' RPM2-1.0/lib/RPM2.xs mezzanine_patched_RPM2-1.0/lib/RPM2.xs |
2 |
--- RPM2-1.0/lib/RPM2.xs 2011-04-01 16:16:49.000000000 +0200 |
3 |
+++ mezzanine_patched_RPM2-1.0/lib/RPM2.xs 2016-03-17 23:07:51.715174431 +0100 |
4 |
@@ -71,9 +71,6 @@ |
5 |
break; |
6 |
|
7 |
case RPMCALLBACK_INST_START: |
8 |
- rpmcliHashesCurrent = 0; |
9 |
- if (h == NULL || !(flags & INSTALL_LABEL)) |
10 |
- break; |
11 |
break; |
12 |
|
13 |
case RPMCALLBACK_TRANS_PROGRESS: |
14 |
@@ -81,30 +78,18 @@ |
15 |
break; |
16 |
|
17 |
case RPMCALLBACK_TRANS_START: |
18 |
- rpmcliHashesCurrent = 0; |
19 |
- rpmcliProgressTotal = 1; |
20 |
- rpmcliProgressCurrent = 0; |
21 |
break; |
22 |
|
23 |
case RPMCALLBACK_TRANS_STOP: |
24 |
- rpmcliProgressTotal = rpmcliPackagesTotal; |
25 |
- rpmcliProgressCurrent = 0; |
26 |
break; |
27 |
|
28 |
case RPMCALLBACK_REPACKAGE_START: |
29 |
- rpmcliHashesCurrent = 0; |
30 |
- rpmcliProgressTotal = total; |
31 |
- rpmcliProgressCurrent = 0; |
32 |
break; |
33 |
|
34 |
case RPMCALLBACK_REPACKAGE_PROGRESS: |
35 |
break; |
36 |
|
37 |
case RPMCALLBACK_REPACKAGE_STOP: |
38 |
- rpmcliProgressTotal = total; |
39 |
- rpmcliProgressCurrent = total; |
40 |
- rpmcliProgressTotal = rpmcliPackagesTotal; |
41 |
- rpmcliProgressCurrent = 0; |
42 |
break; |
43 |
|
44 |
case RPMCALLBACK_UNINST_PROGRESS: |