%define version @VERSION@
%define release @ZFS_META_RELEASE@
%define debug_package %{nil}
+%define _prefix /
+%define _bindir /lib/udev
+%define _libexecdir /usr/libexec
+%define _datadir /usr/share
Summary: ZFS Library and Utils
Group: Utilities/System
%{_sysconfdir}/init.d/*
%{_sysconfdir}/udev/rules.d/*
%{_sysconfdir}/zfs/*
-/sbin/*
%files devel
%defattr(-,root,root)
exit 0
%preun
-[ -x /sbin/chkconfig ] && /sbin/chkconfig --del zfs
+[ "$1" = 0 ] && [ -x /sbin/chkconfig ] && /sbin/chkconfig --del zfs
exit 0