Skip to content

Commit

Permalink
resolve sles packaging required pkg names issue
Browse files Browse the repository at this point in the history
  • Loading branch information
David Salinas authored and scchan committed Nov 21, 2019
1 parent 9b70f4c commit 4302842
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -578,11 +578,9 @@ set(CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE "${PROJECT_BINARY_DIR}/packaging/debian/
set(CPACK_RPM_PACKAGE_AUTOREQ 0)

if( "${DISTRO_ID}" MATCHES "sles" )
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, libelf-devel, pciutils, file,
perl-File-BaseDir, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, libelf-devel, pciutils, file, perl-File-BaseDir, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
else()
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, elfutils-libelf, pciutils-libs, file, pth,
perl-File-BaseDir, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, elfutils-libelf, pciutils-libs, file, pth, perl-File-BaseDir, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
endif ()

set(CPACK_RPM_PACKAGE_REQUIRES "${HCC_GENERAL_RPM_DEP} ${HCC_ROCR_DEP} ${HCC_LIBCXX_RPM_DEP}" )
Expand Down

0 comments on commit 4302842

Please sign in to comment.