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 <behlendorf1@llnl.gov> Closes #486
This commit is contained in:
parent
fe2fc8f6d3
commit
d53574e568
11
zfs.spec.in
11
zfs.spec.in
|
@ -74,17 +74,20 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER
|
|
||||||
%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE
|
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/*
|
%{_libdir}/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_sysconfdir}/init.d/*
|
|
||||||
%{_sysconfdir}/zfs/*
|
|
||||||
%{_udevdir}/*
|
%{_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
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
Loading…
Reference in New Issue