Mageia requires libcap-utils for setcap during installation (#2169).
authorCarl Hetherington <cth@carlh.net>
Wed, 19 Jan 2022 21:17:43 +0000 (22:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 19 Jan 2022 22:28:01 +0000 (23:28 +0100)
cscript

diff --git a/cscript b/cscript
index 04c183d669aad300e5029d8a8aad63a8d3808a73..390978de5baef1335ba480bbc9c75a935797f0e4 100644 (file)
--- a/cscript
+++ b/cscript
@@ -678,7 +678,7 @@ def package_rpm(target, cpu, version, options):
 
     requires = None
     if target.distro == 'mageia':
-        requires = "lib64xmlsec1-devel lib64canberra-gtk0"
+        requires = "lib64xmlsec1-devel lib64canberra-gtk0 libcap-utils"
 
     make_spec('build/platform/linux/dcpomatic2.spec', version, target, options, requires)
     cmd = 'rpmbuild --define "_topdir %s" -bb build/platform/linux/dcpomatic2.spec' % topdir