summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2017-03-22 14:39:33 +0900
committerDuna Oh <duna.oh@samsung.com>2022-02-07 14:49:44 +0900
commit009290a315136693b432f447e7fe5bcf030d3c8b (patch)
tree41dea3ff5490870ee91ec85b7731f1cbe80fb02c
parentae3ab903e8b66b5e19250d61f5640d7ab4553a0f (diff)
downloadlibxkbcommon-009290a315136693b432f447e7fe5bcf030d3c8b.tar.gz
libxkbcommon-009290a315136693b432f447e7fe5bcf030d3c8b.tar.bz2
libxkbcommon-009290a315136693b432f447e7fe5bcf030d3c8b.zip
packaging: update packaging file to install license file via %license macro
Change-Id: I40e0c148db7b6c668a62d273287d26855d13eb62 Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
-rw-r--r--packaging/libxkbcommon.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec
index faee309..7a0e9ff 100644
--- a/packaging/libxkbcommon.spec
+++ b/packaging/libxkbcommon.spec
@@ -52,10 +52,6 @@ chmod a+x ./gen_tables.sh
%install
%make_install
-#for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -63,7 +59,7 @@ cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/licens
%files
%manifest %{name}.manifest
%defattr(-,root,root)
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING
%{_libdir}/libxkbcommon.so.0*
%files devel