[packages/poldek] disable "auto directory dependencies" on rpm.org

atler atler at pld-linux.org
Fri Feb 12 19:46:10 CET 2021


commit ace657a488514627fe3621188f6b9b1a247c2cdc
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Feb 12 19:45:15 2021 +0100

    disable "auto directory dependencies" on rpm.org

 rpm4-no-dir-deps.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/rpm4-no-dir-deps.patch b/rpm4-no-dir-deps.patch
index ae6db7d..eeacb45 100644
--- a/rpm4-no-dir-deps.patch
+++ b/rpm4-no-dir-deps.patch
@@ -19,3 +19,16 @@
      
  (void *(*)(void *, void *, const char *, const char *, mode_t, tn_hash *))pm_rpm_opendb,
      (void (*)(void *))pm_rpm_closedb,
+--- poldek-0.42.2/lib_init.c.orig	2020-03-16 21:23:10.000000000 +0100
++++ poldek-0.42.2/lib_init.c	2021-02-12 19:32:47.579273016 +0100
+@@ -1433,8 +1433,9 @@
+                     break;
+ 
+                 case POLDEK_OP_AUTODIRDEP:
++#if !defined(HAVE_RPMDSUNAME) || defined(HAVE_RPMORG)
+                     v = 0;
+-#ifdef HAVE_RPMDSUNAME          /* rpmdsUname - rpm 4.4.6  */
++#else          /* rpmdsUname - rpm 4.4.6  */
+                     v = 1;
+ #endif
+                     break;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/ace657a488514627fe3621188f6b9b1a247c2cdc



More information about the pld-cvs-commit mailing list