[packages/dnsmasq] - rel 2, package config snippets dir
baggins
baggins at pld-linux.org
Sun Oct 18 00:24:04 CEST 2026
commit 5f3d2a315ec1949e9c8ffd51fed52aae3600e789
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 18 00:23:41 2026 +0200
- rel 2, package config snippets dir
dnsmasq.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/dnsmasq.spec b/dnsmasq.spec
index 226ff23..a346a1c 100644
--- a/dnsmasq.spec
+++ b/dnsmasq.spec
@@ -12,7 +12,7 @@ Summary: A lightweight caching server (DNS, DHCP)
Summary(pl.UTF-8): Lekki buforujący serwer nazw (DNS) i DHCP
Name: dnsmasq
Version: 2.93
-Release: 1
+Release: 2
License: GPL v2
Group: Networking/Daemons
# TODO: http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.xz
@@ -86,7 +86,8 @@ małe wykorzystanie zasobów i łatwa konfiguracja.
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/dbus-1/system.d,/etc/sysconfig,/etc/rc.d/init.d} \
- $RPM_BUILD_ROOT{%{systemdunitdir},%{_mandir}/man8,%{_datadir}/dnsmasq}
+ $RPM_BUILD_ROOT{%{systemdunitdir},%{_mandir}/man8,%{_datadir}/dnsmasq} \
+ $RPM_BUILD_ROOT/etc/dnsmasq.d
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dnsmasq
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/dnsmasq
@@ -159,6 +160,7 @@ fi
%{systemdunitdir}/dnsmasq.service
%attr(755,root,root) %{_sbindir}/dnsmasq
%attr(755,root,root) %{_sbindir}/dnsmasq-portforward
+%dir /etc/dnsmasq.d
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dnsmasq
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnsmasq.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/portforward
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dnsmasq.git/commitdiff/5f3d2a315ec1949e9c8ffd51fed52aae3600e789
More information about the pld-cvs-commit
mailing list