Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit 8f26d64

Browse files
authored
Merge pull request #91 from AppImage/fix_rpm_dependencies
Fix rpm dependencies on Centos and Fedora
2 parents 23a3b00 + 8550881 commit 8f26d64

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

cmake/cpack_rpms.cmake

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,27 @@ else()
2727
set(CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}~local")
2828
endif()
2929

30+
# Exclude well known paths or file crash will be reported at the moment of installing
31+
set(
32+
CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
33+
/usr/share/icons
34+
/usr/share/icons/hicolor
35+
/usr/share/icons/hicolor/scalable
36+
/usr/share/icons/hicolor/scalable/apps
37+
/usr/share/applications
38+
/usr/share/metainfo
39+
/usr/lib/systemd
40+
/usr/lib/systemd/user
41+
)
42+
3043
set(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.md")
3144
set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
3245

3346
set(CPACK_RPM_PACKAGE_NAME "appimaged")
3447
set(CPACK_RPM_PACKAGE_SUMMARY
3548
"Optional AppImage daemon for desktop integration. Integrates AppImages into the desktop, e.g., installs icons and menu entries.")
3649

37-
set(CPACK_RPM_PACKAGE_REQUIRES "libarchive13, libc6 >= 2.4, libglib2.0-0, zlib1g, fuse")
50+
set(CPACK_RPM_PACKAGE_REQUIRES "libarchive, glib2, fuse")
3851

3952
set(CPACK_COMPONENTS_ALL appimaged)
4053
set(CPACK_RPM_COMPONENT_INSTALL ON)

0 commit comments

Comments
 (0)