Skip to content

Commit 165a6dc

Browse files
committed
MDEV-26119 RPM packages on RHEL-8 require the latest minor
changed rpm db query to output only version for libsepol and not release/buildnumber
1 parent 191cae2 commit 165a6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support-files/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ IF(UNIX)
8888
INSTALL(FILES ${out} DESTINATION ${inst_location}/policy/selinux COMPONENT SupportFiles)
8989
ENDFOREACH()
9090
IF(RPM)
91-
EXECUTE_PROCESS(COMMAND rpm -q --qf "%{VERSION}-%{RELEASE}" libsepol
91+
EXECUTE_PROCESS(COMMAND rpm -q --qf "%{VERSION}" libsepol
9292
OUTPUT_VARIABLE LIBSEPOL_VERSION RESULT_VARIABLE err)
9393
IF (NOT err)
9494
SET(CPACK_RPM_server_PACKAGE_REQUIRES

0 commit comments

Comments
 (0)