mirror_zfs/rpm/generic
Brian Behlendorf 4cdcdbff63 Fix DKMS package upgrade and packager
Running 'yum upgrade spl-dkms' package could appear to work properly
and still leave you with no spl modules installed.  This will occur
when only the spl release, and not the version, are incremented.
This may be the case for a fast moving spl-testing repository.

During the upgrade process DKMS will realize that spl-x.y.z is already
installed and remove it.  DKMS then correctly builds the new modules
for spl-x.y.z.  However, as a final step when the old spl-x.y.z-r is
removed the %preun script runs and removes the newly build modules.
To handle this case the %preun script has been updated to only run
when the installed version exactly matches the full spec file version.

This change also updated ChangeLog section based on the DKMS
reference spec file.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2014-05-30 11:20:51 -07:00
..
.gitignore Refresh RPM packaging 2013-03-18 15:31:54 -07:00
Makefile.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00
spl-dkms.spec.in Fix DKMS package upgrade and packager 2014-05-30 11:20:51 -07:00
spl-kmod.spec.in Retroactively fix bogus %changelog date 2013-11-14 14:10:19 -08:00
spl.spec.in Document SPL module parameters. 2013-11-21 12:32:41 -08:00