[CMake] is CPACK_PACKAGE_RELEASE broken?

Denis Samoilov samoilov at gmail.com
Thu Jul 31 18:28:27 EDT 2014


hi,
when i set "CPACK_PACKAGE_RELEASE" to "7777":

"set(CPACK_PACKAGE_RELEASE 7777)"

spec file still stays the same "1" :

Summary:        A cache configuration service.

Name:           cacheproxyd

Version:        1.0.8

Release:        1


i see that rpm file name that depends on it changes:

"set(CPACK_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}"
)"

in spec:

%define _rpmfilename cacheproxyd-1.0.8-7777.x86_64.rpm

Am I miss something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140731/f00df626/attachment.html>


More information about the CMake mailing list