1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-04-03 18:00:08 +03:00

Omit top-level /lib directory from the RPM package

This causes installation to fail on Fedora where /lib is a symlink to
/usr/lib. It's safe to assume that /lib already exists at the time the
package is installed.
This commit is contained in:
Ron Isaacson 2020-06-28 01:19:21 -04:00
parent d5245c8842
commit 64270ac558

View File

@ -88,6 +88,7 @@ if(UNIX)
set(CPACK_RPM_FILE_NAME "RPM-DEFAULT") set(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
set(CPACK_RPM_PACKAGE_GROUP "Applications/Internet") set(CPACK_RPM_PACKAGE_GROUP "Applications/Internet")
set(CPACK_RPM_PACKAGE_LICENSE "ASL 2.0") set(CPACK_RPM_PACKAGE_LICENSE "ASL 2.0")
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION /lib)
include(CPack) include(CPack)
endif() endif()