As we can develop our applications in cross-platform way to accommodate different Linux distributions, it would be helpful to have few macros defined that could be used in RPM SPEC. In line with other RPM-based distros, such as Fedora and Suse, please add
-
%sailfishos
equal to 1 or some other non-zero value -
%sailfishos_version
equal to the corresponding SFOS version: 3.4.0.24 for the latest
Please make them available in downloadable SDK and OBS.
This will make it possible to check whether the build is running for SFOS and its version.