]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-python-sitescriptdir.patch
- finished patch review, some patches require update (mst notableis x32)
[packages/rpm.git] / rpm-python-sitescriptdir.patch
diff --git a/rpm-python-sitescriptdir.patch b/rpm-python-sitescriptdir.patch
deleted file mode 100644 (file)
index a2ffddc..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- rpm-5.4.10/lib/rpmfc.c~    2012-12-01 21:13:39.985319735 +0100
-+++ rpm-5.4.10/lib/rpmfc.c     2013-01-24 12:21:26.379891972 +0100
-@@ -1142,7 +1142,7 @@
-     /* Generate package and per-file dependencies. */
-     for (fc->ix = 0; fc->fn[fc->ix] != NULL; fc->ix++) {
--      /* XXX Insure that /usr/lib{,64}/python files are marked RPMFC_PYTHON */
-+      /* XXX Insure that /usr/{share,lib{,64}}/python files are marked RPMFC_PYTHON */
-       /* XXX HACK: classification by path is intrinsically stupid. */
-       {   fn = strstr(fc->fn[fc->ix], "/usr/lib");
-           if (fn) {
-@@ -1166,6 +1166,13 @@
-                       fc->fcolor->vals[fc->ix] & RPMFC_LIBRARY)
-                   fc->fcolor->vals[fc->ix] |= (RPMFC_MODULE|RPMFC_SCRIPT);
-           }
-+          fn = strstr(fc->fn[fc->ix], "/usr/share");
-+          if (fn) {
-+              fn += sizeof("/usr/share")-1;
-+              if (!strncmp(fn, "/python", sizeof("/python")-1))
-+                  fc->fcolor->vals[fc->ix] |= RPMFC_PYTHON;
-+              }
-+          }
-       }
-        /* XXX ugly quick & dirty integration of haskell() dependencies */
This page took 0.029687 seconds and 4 git commands to generate.