From 7c031befaeb933e9a8ee689153c0ce082a2a43ab Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Tue, 28 Mar 2017 19:59:52 +0900 Subject: [PATCH] Used %licesne macro for license file Change-Id: I8abf444c343f504578fe0848b019ccc5f4b61c1b Signed-off-by: Seonah Moon --- packaging/dnsmasq.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/dnsmasq.spec b/packaging/dnsmasq.spec index 451d1be..cf899d3 100644 --- a/packaging/dnsmasq.spec +++ b/packaging/dnsmasq.spec @@ -34,11 +34,9 @@ mkdir -p %{TZ_SYS_VAR}/lib/misc %make_install mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d cp dbus/dnsmasq.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/dnsmasq.conf -mkdir -p %{buildroot}/usr/share/license -cp COPYING %{buildroot}/usr/share/license/dnsmasq %files %manifest %{name}.manifest %{_bindir}/dnsmasq -/usr/share/license/dnsmasq +%license COPYING %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/* -- 2.7.4