[CRIU] [PATCH] criu: move libcap-dev(el) to build requires

Adrian Reber adrian at lisas.de
Tue Jun 28 06:46:48 PDT 2016


From: Adrian Reber <areber at redhat.com>

The package libcap-dev(el) was listed as required to run the tests. It
is, however, also required to build CRIU. Move the package to the right
place to fix the printed information.

Signed-off-by: Adrian Reber <areber at redhat.com>
---
 criu/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/Makefile b/criu/Makefile
index e8e8c8b..7a48117 100644
--- a/criu/Makefile
+++ b/criu/Makefile
@@ -27,6 +27,7 @@ REQ-RPM-PKG-NAMES	+= protobuf-compiler
 REQ-RPM-PKG-NAMES	+= protobuf-devel
 REQ-RPM-PKG-NAMES	+= protobuf-python
 REQ-RPM-PKG-NAMES	+= libnl3-devel
+REQ-RPM-PKG-NAMES	+= libcap-devel
 
 REQ-DEB-PKG-NAMES	+= libprotobuf-dev
 REQ-DEB-PKG-NAMES	+= libprotobuf-c0-dev
@@ -34,12 +35,11 @@ REQ-DEB-PKG-NAMES	+= protobuf-c-compiler
 REQ-DEB-PKG-NAMES	+= protobuf-compiler
 REQ-DEB-PKG-NAMES	+= python-protobuf
 REQ-DEB-PKG-NAMES	+= libnl-3-dev
+REQ-DEB-PKG-NAMES	+= libcap-dev
 
 REQ-RPM-PKG-TEST-NAMES  += libaio-devel
-REQ-RPM-PKG-TEST-NAMES  += libcap-devel
 
 REQ-DEB-PKG-TEST-NAMES  += libaio-dev
-REQ-DEV-PKG-TEST-NAMES  += libcap-dev
 
 #
 # Make sure all required libs are installed
-- 
2.7.4



More information about the CRIU mailing list