fix: add version number for dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-12-27 14:57:06 +01:00
parent bb1bb329f3
commit 4fead7bfcb

View file

@ -66,17 +66,18 @@ set(CPACK_RPM_PACKAGE_GROUP "Network")
set(CPACK_RPM_PACKAGE_VENDOR "Your Company/Organization")
set(CPACK_RPM_PACKAGE_DESCRIPTION "A tool for generating IGMP packets.")
set(CPACK_RPM_PACKAGE_LICENSE "LGPL-3.0-or-later")
set(CPACK_RPM_PACKAGE_LICENSE "libnet (>= 1.3-1)")
# CPack DEB specific settings
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Your Name <your-email@example.com>")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Glenn Y. Rolland <glenux@glenux.net>")
set(CPACK_DEBIAN_PACKAGE_NAME "igmpgen")
set(CPACK_DEBIAN_PACKAGE_VERSION "${igmpgen_VERSION}")
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
set(CPACK_DEBIAN_PACKAGE_SECTION "net")
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "A tool for generating IGMP packets.")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libnet1")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libnet1 (>= 1.1.6)")
set(CPACK_GENERATOR "TGZ;RPM;DEB")
include(CPack)