summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2017-03-22 14:39:33 +0900
committerSung-Jin Park <sj76.park@samsung.com>2017-10-20 16:41:55 +0900
commit812f5a208d08ada0845509753d0d05327e3da2b5 (patch)
treea8ef5ce37d5a34ddea2253639f92440d1b0627a2
parent054b9382688678c449798119d14f4291491dded7 (diff)
downloadlibxkbcommon-812f5a208d08ada0845509753d0d05327e3da2b5.tar.gz
libxkbcommon-812f5a208d08ada0845509753d0d05327e3da2b5.tar.bz2
libxkbcommon-812f5a208d08ada0845509753d0d05327e3da2b5.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