Tag zfs-0.6.2
[zfs.git] / rpm / generic / zfs.spec.in
index 8b57e6e..0797124 100644 (file)
@@ -113,7 +113,16 @@ make %{?_smp_mflags}
 make install DESTDIR=%{?buildroot}
 find %{?buildroot}%{_libdir} -name '*.la' -exec rm -f {} \;
 
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+[ -x /sbin/chkconfig ] && /sbin/chkconfig --add zfs
+exit 0
+
+%preun
+if [ $1 -eq 0 ] ; then
+    [ -x /sbin/chkconfig ] && /sbin/chkconfig --del zfs
+fi
+exit 0
 
 %postun -p /sbin/ldconfig
 
@@ -144,5 +153,7 @@ find %{?buildroot}%{_libdir} -name '*.la' -exec rm -f {} \;
 %{_dracutdir}/modules.d/*
 
 %changelog
+* Wed Aug 21 2013 Brian Behlendorf <behlendorf1@llnl.gov> - 0.6.2-1
+- Released 0.6.2-1
 * Fri Mar 22 2013 Brian Behlendorf <behlendorf1@llnl.gov> - 0.6.1-1
 - First official stable release.