diff options
author | hwspeedy <ns@bigbear.dk> | 2024-03-04 03:19:08 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-03-04 03:19:08 +0100 |
commit | 6d87ce5378d5727c2fa88669f61522f962a90a0d (patch) | |
tree | dda96ff286d1ef5513d6b2c544da7260521aaf1d /CMakeLists.txt | |
parent | 1ababda27ac03e3b9ad8aeb824658936df68d8c5 (diff) |
PACKAGING Fedora/Redhat & Debian source packaging scripts
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 28182192..7c57bfba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,7 +135,7 @@ endif() #Put it together string(REPLACE " " "_" CPACK_PACKAGE_FILE_NAME "hardinfo${PACKAGE_DELIMITER}${PACKAGE_DISTRO}${PACKAGE_ARCHITECTURE}") if(${RPM}) - string(REPLACE " " "_" CPACK_SOURCE_PACKAGE_FILE_NAME "hardinfo${PACKAGE_DELIMITER}${HARDINFO2_VERSION}.src") + string(REPLACE " " "_" CPACK_SOURCE_PACKAGE_FILE_NAME "hardinfo-${HARDINFO2_VERSION}") else() string(REPLACE " " "_" CPACK_SOURCE_PACKAGE_FILE_NAME "hardinfo-${HARDINFO2_VERSION}") endif() @@ -530,13 +530,13 @@ SET(CPACK_PACKAGE_NAME "hardinfo") SET(CPACK_SOURCE_PACKAGE_NAME "hardinfo") SET(CPACK_PACKAGE_HOMEPAGE_URL "https://www.hardinfo2.org") if(${RPM}) - SET(CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;/.github/;.gitignore;.gitmodules;*.po.old;*~;*.mo;*.dsc;/debian/") - SET(CPACK_SOURCE_GENERATOR "RPM") + SET(CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;/.github/;.gitignore;.gitmodules;*.po.old;*~;*.mo;") + SET(CPACK_SOURCE_GENERATOR "RPM;TGZ") SET(CPACK_GENERATOR "RPM") SET(PACKAGE_GTK2 "libgtk-2-0") else() SET(CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;/.github/;.gitignore;.gitmodules;*.po.old;*~;*.mo") - SET(CPACK_SOURCE_GENERATOR "TGZ") + SET(CPACK_SOURCE_GENERATOR "DEB;TGZ") SET(CPACK_GENERATOR "DEB") SET(PACKAGE_GTK2 "libgtk2.0-0") endif() |