]>
Commit | Line | Data |
---|---|---|
a3809792 JR |
1 | Disable Provides: user(NAME), group(NAME) probes as it would fire trigger on NAME uninstall |
2 | ||
3 | as for example uninstalling this spec: https://bugs.pld-linux.org/attachment.cgi?id=20 | |
4 | ||
5 | 15:30:53 jbj> glen_: rpmns.c splits group(mailman) into the tuple {group, mailman} for name space processing. | |
6 | 15:32:48 jbj> the code in unbsatisfiedDepnds is driven by the name "group". if split, then its not the string | |
7 | "group(mailman)" any more. | |
8 | ||
9 | --- rpm-4.4.9/lib/depends.c~ 2008-04-08 19:44:02.000000000 +0300 | |
10 | +++ rpm-4.4.9/lib/depends.c 2008-04-25 15:12:52.734623679 +0300 | |
11 | @@ -611,6 +611,7 @@ | |
12 | goto exit; | |
13 | } | |
14 | ||
15 | +#if 0 | |
16 | /* Evaluate user/group lookup probes. */ | |
17 | if (NSType == RPMNS_TYPE_USER) { | |
18 | const char *s; | |
19 | @@ -646,6 +647,7 @@ | |
20 | rpmdsNotify(dep, _("(group lookup)"), rc); | |
21 | goto exit; | |
22 | } | |
23 | +#endif | |
24 | ||
25 | /* Evaluate access(2) probe dependencies. */ | |
26 | if (NSType == RPMNS_TYPE_ACCESS) { | |
26ea8a78 JR |
27 | --- rpm-4.4.9/lib/order.c~ 2007-05-16 14:31:58.000000000 +0300 |
28 | +++ rpm-4.4.9/lib/order.c 2008-04-25 15:36:20.223855745 +0300 | |
a3809792 JR |
29 | @@ -179,8 +179,10 @@ |
30 | case RPMNS_TYPE_UNAME: | |
31 | case RPMNS_TYPE_SONAME: | |
32 | case RPMNS_TYPE_ACCESS: | |
33 | +#if 0 | |
34 | case RPMNS_TYPE_USER: | |
35 | case RPMNS_TYPE_GROUP: | |
36 | +#endif | |
37 | case RPMNS_TYPE_MOUNTED: | |
38 | case RPMNS_TYPE_DISKSPACE: | |
39 | case RPMNS_TYPE_DIGEST: |