The configuration files of dnsmasq were being overwritten during package upgrade. This change preserves the existing configuration files.
Change-Id: Idb201c72126d306c60dc0a08ace26060b5cb5b57
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5565
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: DNS proxy with integrated DHCP server |
| 2 | 2 |
Name: dnsmasq |
| 3 | 3 |
Version: 2.76 |
| 4 |
-Release: 5%{?dist}
|
|
| 4 |
+Release: 6%{?dist}
|
|
| 5 | 5 |
License: GPLv2 or GPLv3 |
| 6 | 6 |
Group: System Environment/Daemons |
| 7 | 7 |
URL: http://www.thekelleys.org.uk/dnsmasq/ |
| ... | ... |
@@ -68,11 +68,15 @@ rm -rf %{buildroot}
|
| 68 | 68 |
%exclude %{_libdir}/debug
|
| 69 | 69 |
%{_sbindir}/*
|
| 70 | 70 |
%{_mandir}/*
|
| 71 |
-%{_sysconfdir}/*
|
|
| 71 |
+%{_sysconfdir}/dnsmasq.d
|
|
| 72 |
+%config(noreplace) %{_sysconfdir}/dnsmasq.conf
|
|
| 73 |
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dnsmasq.conf
|
|
| 72 | 74 |
%dir %{_sharedstatedir}
|
| 73 | 75 |
%config /usr/share/dnsmasq/trust-anchors.conf |
| 74 | 76 |
|
| 75 | 77 |
%changelog |
| 78 |
+* Fri Aug 31 2018 Dweep Advani <dadvani@vmware.com> 2.76-6 |
|
| 79 |
+- Preserve configuration files during package upgrade |
|
| 76 | 80 |
* Tue Feb 13 2018 Xiaolin Li <xiaolinl@vmware.com> 2.76-5 |
| 77 | 81 |
- Fix CVE-2017-15107 |
| 78 | 82 |
* Mon Nov 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.76-4 |