From: pr.jung Date: Tue, 11 Apr 2017 05:53:52 +0000 (+0900) Subject: Use %license macro on spec file X-Git-Tag: submit/tizen/20170411.055804^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06a57bd7c47c3c2cfe8abb0751b3872496d27654;p=platform%2Fcore%2Fsystem%2Flibsvi.git Use %license macro on spec file Change-Id: I1067ae3d6574b560c865a82d2a444a1cf80d2122 Signed-off-by: pr.jung --- diff --git a/packaging/libfeedback.spec b/packaging/libfeedback.spec index 1fb2666..ca9ddbc 100644 --- a/packaging/libfeedback.spec +++ b/packaging/libfeedback.spec @@ -94,10 +94,6 @@ mv mobile feedback.mobile mv wearable feedback.wearable popd -mkdir -p %{buildroot}%{_datadir}/license -cp LICENSE %{buildroot}%{_datadir}/license/%{name} -cp LICENSE %{buildroot}%{_datadir}/license/svi-data - mkdir -p %{buildroot}%{TZ_SYS_SHARE}/feedback/haptic/custom %post -p /sbin/ldconfig @@ -111,7 +107,7 @@ rm -rf %{TZ_SYS_SHARE}/feedback/ %files %defattr(-,root,root,-) %{_libdir}/libfeedback.so.* -%{_datadir}/license/%{name} +%license LICENSE %manifest libfeedback.manifest %files devel @@ -123,12 +119,13 @@ rm -rf %{TZ_SYS_SHARE}/feedback/ %files -n svi-data %defattr(666,app,app,-) %dir %{TZ_SYS_SHARE}/feedback/haptic/custom -%{_datadir}/license/svi-data +%license LICENSE %manifest svi-data.manifest %files -n svi-data-profile_common %defattr(644,root,root,-) %{_datadir}/feedback/* +%license LICENSE %manifest svi-data.manifest %post -n svi-data-profile_mobile @@ -138,6 +135,7 @@ rm -f %{_datadir}/feedback %files -n svi-data-profile_mobile %defattr(644,root,root,-) %{_datadir}/feedback.mobile/* +%license LICENSE %manifest svi-data.manifest %post -n svi-data-profile_wearable @@ -147,4 +145,5 @@ rm -f %{_datadir}/feedback %files -n svi-data-profile_wearable %defattr(644,root,root,-) %{_datadir}/feedback.wearable/* +%license LICENSE %manifest svi-data.manifest