/[packages]/cauldron/perl-RPM2/current/SOURCES/perl-RPM2-switchofffunctions.patch
ViewVC logotype

Contents of /cauldron/perl-RPM2/current/SOURCES/perl-RPM2-switchofffunctions.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260493 - (show annotations) (download)
Thu Jun 14 06:07:37 2012 UTC (11 years, 10 months ago) by tv
File size: 1115 byte(s)
SILENT: new file ./SOURCES/perl-RPM2-switchofffunctions.patch
1 diff -up RPM2-1.0/lib/RPM2.xs.old RPM2-1.0/lib/RPM2.xs
2 --- RPM2-1.0/lib/RPM2.xs.old 2011-04-01 16:16:49.000000000 +0200
3 +++ RPM2-1.0/lib/RPM2.xs 2012-04-26 11:29:25.849234177 +0200
4 @@ -71,9 +71,6 @@ void * _null_callback(
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 @@ void * _null_callback(
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:

  ViewVC Help
Powered by ViewVC 1.1.30