Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

packaging: rpms: Add systemd support for openSUSE #31

Merged
merged 1 commit into from
Jul 3, 2017

Commits on Jun 29, 2017

  1. packaging: rpms: Add systemd support for openSUSE

    Recent openSUSE releases have been migrated to systemd so use the
    %{suse_version} macro to detect if we are building on openSUSE
    so we can include the necessary systemd files and also perform the
    needed systemd steps. This also defines the 'suse_version' to 1315
    which is what openSUSE Leap 42.x use. This also drops the buggy rhel7
    conditional for the sysvinit script and use another 'find' command
    instead. The previous condition was wrong since it would also try
    to include the sysvinit file on openSUSE and Fedora which do not
    define the %rhel macro and as such the 0 < 7 conditional was always
    true.
    Markos Chandras committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    2211e5f View commit details
    Browse the repository at this point in the history