]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-namespace-probe.patch
- at least use macros that are used
[packages/rpm.git] / rpm-namespace-probe.patch
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) {
27 --- rpm-4.4.9/lib/rpmns.c~      2007-05-16 14:31:58.000000000 +0300
28 +++ rpm-4.4.9/lib/rpmns.c       2008-04-25 15:36:20.223855745 +0300
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:
This page took 0.032913 seconds and 3 git commands to generate.