VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build/CMakeLists.txt
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-09-04 21:45:14 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-09-04 22:10:39 +0200
commit5e109cf01dc9e4a264249ef3388eb80818ad23f1 (patch)
tree837a6e222a5f4495517d98481c1543cd3d3fb955 /src/Build/CMakeLists.txt
parent32052f214b052531cc55d5d52c0283adabf838ca (diff)
downloadVeraCrypt-5e109cf01dc9e4a264249ef3388eb80818ad23f1.tar.gz
VeraCrypt-5e109cf01dc9e4a264249ef3388eb80818ad23f1.zip
Linux: fix rpm installation conflict for /usr/share/mime
Diffstat (limited to 'src/Build/CMakeLists.txt')
-rw-r--r--src/Build/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Build/CMakeLists.txt b/src/Build/CMakeLists.txt
index 5924c744..a7025c64 100644
--- a/src/Build/CMakeLists.txt
+++ b/src/Build/CMakeLists.txt
@@ -324,6 +324,8 @@ elseif ( ( PLATFORM STREQUAL "CentOS" ) OR ( PLATFORM STREQUAL "openSUSE" ) )
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share" )
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/applications" )
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/doc" )
+ list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/mime" )
+ list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/mime/packages" )
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/pixmaps" )
set( CPACK_RPM_PACKAGE_RELOCATABLE "OFF" )