mirror_zfs/rpm/generic
LOLi 29b79dcfe9 Fix systemd_ RPM macros usage on Debian-based distributions
Debian-based distributions do not seem to provide RPM macros for
dealing with systemd pre- and post- (un)install actions: this results
in errors when installing or upgrading .deb packages because the
resulting control scripts contain the following unresolved macros:

 * %systemd_post
 * %systemd_preun
 * %systemd_postun

Fix this by providing default values for postinstall, preuninstall and
postuninstall scripts when these macros are not defined.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7074
Closes #7100
2018-03-14 16:10:36 -07:00
..
.gitignore Refresh RPM packaging 2013-03-18 15:33:17 -07:00
Makefile.am Refresh RPM packaging 2013-03-18 15:33:17 -07:00
zfs-dkms.spec.in Disable automatic dependencies in DKMS package 2017-11-20 16:48:25 -06:00
zfs-kmod.spec.in Tag zfs-0.7.6 2018-02-01 10:02:58 -08:00
zfs.spec.in Fix systemd_ RPM macros usage on Debian-based distributions 2018-03-14 16:10:36 -07:00