diff options
author | Brian Behlendorf <[email protected]> | 2012-06-13 12:58:27 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-06-13 13:02:43 -0700 |
commit | d53574e568d70fc8c3d77cc711c306f91fd6abe8 (patch) | |
tree | 997f71d5bb739a3e2cd50d48a960f6bf9fa79ed1 | |
parent | fe2fc8f6d383f1621446f98bb277c12f6b457b8f (diff) |
Mark zdev.conf as a config file
Prevent 'rpm -Uvh *.rpm" from automatically replacing your vdev.conf
file by flagging it as a non replacable config file.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #486
-rw-r--r-- | zfs.spec.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/zfs.spec.in b/zfs.spec.in index 4b5b3ea71..07b16e8e7 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -74,17 +74,20 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) -%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER -%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE %{_sbindir}/* %{_bindir}/* %{_libdir}/* %{_mandir}/man5/* %{_mandir}/man8/* -%{_sysconfdir}/init.d/* -%{_sysconfdir}/zfs/* %{_udevdir}/* +%config %{_sysconfdir}/init.d/* +%config %{_sysconfdir}/zfs/* +%config(noreplace) %{_sysconfdir}/zfs/zdev.conf + +%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER +%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE + %files devel %defattr(-,root,root) %{_includedir}/* |