summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2017-03-22 17:46:02 +0900
committerSung-Jin Park <sj76.park@samsung.com>2017-03-22 17:46:02 +0900
commit8a9983dd9172d21165de16356d9389d903c03e9b (patch)
treef6d57f9ebc4003ac571d383b00b23581d3be42cd
parenta4ba63bed48e27db66402ae069172621d130ef07 (diff)
downloadefl-util-8a9983dd9172d21165de16356d9389d903c03e9b.tar.gz
efl-util-8a9983dd9172d21165de16356d9389d903c03e9b.tar.bz2
efl-util-8a9983dd9172d21165de16356d9389d903c03e9b.zip
packaging: update packaging file to install license file via %license macro
Change-Id: I6c398f1c67a44a4eea950f2206177415a0e3224a Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
-rw-r--r--packaging/capi-ui-efl-util.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/packaging/capi-ui-efl-util.spec b/packaging/capi-ui-efl-util.spec
index ba317d6..22ca384 100644
--- a/packaging/capi-ui-efl-util.spec
+++ b/packaging/capi-ui-efl-util.spec
@@ -50,10 +50,6 @@ make %{?jobs:-j%jobs}
%install
%make_install
-# for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a LICENSE.APLv2 %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -61,8 +57,8 @@ cp -a LICENSE.APLv2 %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
%files
%manifest %{name}.manifest
+%license LICENSE.APLv2
%{_libdir}/libcapi-ui-efl-util.so.*
-%{TZ_SYS_RO_SHARE}/license/%{name}
%files devel
%manifest %{name}.manifest