Resolve RPM conflicts on Fedora > 23
e.g. on Fedora 25: Error: Transaction check error: file /usr/share/man from install of somake-0.6.0-1.x86_64 conflicts with file from package filesystem-3.2-37.fc24.x86_64 file /usr/share/man/man1 from install of somake-0.6.0-1.x86_64 conflicts with file from package filesystem-3.2-37.fc24.x86_64
This commit is contained in:
parent
134796a9e5
commit
a9b6d5c596
|
@ -93,6 +93,8 @@ set(CPACK_PACKAGE_VERSION_MINOR "6")
|
|||
set(CPACK_PACKAGE_VERSION_PATCH "0")
|
||||
set(CPACK_RPM_PACKAGE_GROUP "Development/Tools")
|
||||
set(CPACK_RPM_PACKAGE_URL "https://github.com/gsauthof/somake")
|
||||
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
|
||||
"/usr/share/man" "/usr/share/man/man1")
|
||||
# CPackDeb default to CPACK_PACKAGE_DESCRIPTION_SUMMARY, although
|
||||
# the long description makes more sense ...
|
||||
file(READ ${CPACK_PACKAGE_DESCRIPTION_FILE} CPACK_DEBIAN_PACKAGE_DESCRIPTION)
|
||||
|
|
Loading…
Reference in a new issue