diff options
author | Alexey Bychko <alexey.bychko@mariadb.com> | 2021-07-13 14:30:40 +0700 |
---|---|---|
committer | Alexey Bychko <alexey.bychko@mariadb.com> | 2021-07-13 14:30:40 +0700 |
commit | 165a6dc97a900e922cb90a1fb5b16e8f9d254ec3 (patch) | |
tree | 08c31650ec602a09b5f530a1ddf206d1f8fad29d /support-files | |
parent | 191cae2d0ddeb475152c475a2227d1c385eaac83 (diff) | |
download | mariadb-git-165a6dc97a900e922cb90a1fb5b16e8f9d254ec3.tar.gz |
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
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt index 038e7163901..810e0127202 100644 --- a/support-files/CMakeLists.txt +++ b/support-files/CMakeLists.txt @@ -88,7 +88,7 @@ IF(UNIX) INSTALL(FILES ${out} DESTINATION ${inst_location}/policy/selinux COMPONENT SupportFiles) ENDFOREACH() IF(RPM) - EXECUTE_PROCESS(COMMAND rpm -q --qf "%{VERSION}-%{RELEASE}" libsepol + EXECUTE_PROCESS(COMMAND rpm -q --qf "%{VERSION}" libsepol OUTPUT_VARIABLE LIBSEPOL_VERSION RESULT_VARIABLE err) IF (NOT err) SET(CPACK_RPM_server_PACKAGE_REQUIRES |