>
> > set(INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/ssp-suite)
> > install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ssp/" DESTINATION
> ${INSTALL_DIR})
>
Eric already covered this part - use relative paths instead ( no / at the
beginning).
> But I also need to execute a post script, which runs after
You probably need to show us the postinstall script for us to be able to
see the problem. Also, in case you haven't found it already, the MaximumRPM
manual may be helpful (although it seems you've already found the
essentials and that document could be getting a bit dated by now):
2017-05-10 13:26 GMT+02:00 Kristian :
> Hi,
>
> I am creating an RPM package, which on a standard installation should
> install the file into /opt/ssp-suite directory. But I want to give the
> user the opportunity, to install the package into another directory.
>
> I