From: Kichan Kwon Date: Thu, 20 Apr 2017 07:48:08 +0000 (+0900) Subject: Use %license macro X-Git-Tag: submit/tizen/20170421.010936^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46bf5b26c20e7fcc2ae75c05ebb5a5392b8f896f;p=platform%2Fcore%2Fsystem%2Fresourced.git Use %license macro Change-Id: Id55a24875a0e34fcd9cfe00abad819b330093e04 Signed-off-by: Kichan Kwon --- diff --git a/packaging/resourced.spec b/packaging/resourced.spec index 5d9c04cf..fb3edfe6 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