From 46bf5b26c20e7fcc2ae75c05ebb5a5392b8f896f Mon Sep 17 00:00:00 2001 From: Kichan Kwon Date: Thu, 20 Apr 2017 16:48:08 +0900 Subject: [PATCH] Use %license macro Change-Id: Id55a24875a0e34fcd9cfe00abad819b330093e04 Signed-off-by: Kichan Kwon --- packaging/resourced.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packaging/resourced.spec b/packaging/resourced.spec index 5d9c04c..fb3edfe 100644 --- a/packaging/resourced.spec +++ b/packaging/resourced.spec @@ -170,8 +170,6 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp -f LICENSE %{buildroot}/usr/share/license/%{name} install -D scripts/500.resourced_upgrade.sh %{buildroot}%{upgrade_file_path}/scripts/500.resourced_upgrade.sh pushd build_light @@ -213,7 +211,7 @@ mv %{_bindir}/resourced.common %{_bindir}/resourced %postun -p /sbin/ldconfig %files -/usr/share/license/%{name} +%license LICENSE %attr(-,root, root) %{_bindir}/resourced.common %manifest resourced.manifest %config %{_sysconfdir}/dbus-1/system.d/resourced.conf @@ -256,7 +254,7 @@ mv %{_bindir}/resourced.light %{_bindir}/resourced %preun light mv %{_bindir}/resourced %{_bindir}/resourced.light %files light -/usr/share/license/%{name} +%license LICENSE %attr(-,root, root) %{_bindir}/resourced.light %manifest resourced.manifest %config %{_sysconfdir}/dbus-1/system.d/resourced.conf -- 2.7.4