Skip to contentSkip to conversation

rpm: add PACKAGECONFIG dependencies

PATCH New Dan McGregor 1 participant 1 message Feb 5, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpm: add PACKAGECONFIG dependencies

From: Daniel McGregor <[email protected]>

The cap and acl configs were missing dependency specifications. They could get satisfied transitively if archive was also used, but alone get missed.

---
 meta/recipes-devtools/rpm/rpm_4.20.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/rpm/rpm_4.20.0.bb +2 -2
index 6c995ff50c3..45487ad32c4 100644
@@ -70,8 +70,8 @@ PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF"
 # has replaced openpgp support and is written in rust: https://fedoraproject.org/wiki/Changes/RpmSequoia
 PACKAGECONFIG[sequoia] = "-DWITH_SEQUOIA=ON,-DWITH_SEQUOIA=OFF,rpm-sequoia"
 
-PACKAGECONFIG[cap] = "-DWITH_CAP=ON,-DWITH_CAP=OFF"
-PACKAGECONFIG[acl] = "-DWITH_ACL=ON,-DWITH_ACL=OFF"
+PACKAGECONFIG[cap] = "-DWITH_CAP=ON,-DWITH_CAP=OFF,libcap"
+PACKAGECONFIG[acl] = "-DWITH_ACL=ON,-DWITH_ACL=OFF,acl"
 PACKAGECONFIG[archive] = "-DWITH_ARCHIVE=ON,-DWITH_ARCHIVE=OFF,libarchive"
 PACKAGECONFIG[selinux] = "-DWITH_SELINUX=ON,-DWITH_SELINUX=OFF,libselinux"
 PACKAGECONFIG[dbus] = "-DWITH_DBUS=ON,-DWITH_DBUS=OFF"
Signature · 1 line
2.47.0