Skip to content

Commit

Permalink
Fix variables names
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdea1er committed Sep 21, 2024
1 parent 32b70a8 commit c72ef36
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cmake/CPackConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ set(CPACK_DEBIAN_DEVELOPMENT_DESCRIPTION "Development package")

# Variables specific to CPack RPM generator
set(CPACK_RPM_COMPONENT_INSTALL ON)
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
set(CPACK_RPM_FILE_NAME RPM-DEFAULT)

set(CPACK_RPM_RUNTIME_PACKAGE_NAME "libtmp${CPACK_PACKAGE_VERSION_MAJOR}")
set(CPACK_RPM_DEVELOPMENT_PACKAGE_NAME "libtmp${CPACK_PACKAGE_VERSION_MAJOR}-devel")
set(CPACK_RPM_RUNTIME_PACKAGE_NAME "tmp")
set(CPACK_RPM_DEVELOPMENT_PACKAGE_NAME "tmp-devel")

set(CPACK_RPM_PACKAGE_AUTOPROV ON)
set(CPACK_RPM_DEVELOPMENT_PACKAGE_DEPENDS
"libstdc++-devel, libtmp${CPACK_PACKAGE_VERSION_MAJOR} (= ${CPACK_PACKAGE_VERSION})")
set(CPACK_RPM_PACKAGE_AUTOREQPROV ON)
set(CPACK_RPM_DEVELOPMENT_PACKAGE_REQUIRES
"libstdc++-devel, tmp = ${CPACK_PACKAGE_VERSION}")

set(CPACK_RPM_RUNTIME_DESCRIPTION "Runtime package")
set(CPACK_RPM_DEVELOPMENT_DESCRIPTION "Development package")
set(CPACK_RPM_RUNTIME_PACKAGE_DESCRIPTION "Runtime package")
set(CPACK_RPM_DEVELOPMENT_PACKAGE_DESCRIPTION "Development package")

0 comments on commit c72ef36

Please sign in to comment.