summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2021-05-13 09:07:17 +0900
committerSooChan Lim <sc1.lim@samsung.com>2021-05-13 09:07:17 +0900
commit6faadbb88721e5b1ff1624ce2af87868ed5e0905 (patch)
tree06ec740344e26cfd096daa193ccc267c9bcab6f3
parent44412ec394c791a8ea52b48e90e07145412ed2d2 (diff)
downloadlibtdm-drm-6faadbb88721e5b1ff1624ce2af87868ed5e0905.tar.gz
libtdm-drm-6faadbb88721e5b1ff1624ce2af87868ed5e0905.tar.bz2
libtdm-drm-6faadbb88721e5b1ff1624ce2af87868ed5e0905.zip
install COPYING to /hal
Change-Id: I8629ed5a9250b51c69ad08f50ea65a02dfd4f042
-rw-r--r--packaging/libtdm-drm.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/libtdm-drm.spec b/packaging/libtdm-drm.spec
index 408a65a..f30a2e5 100644
--- a/packaging/libtdm-drm.spec
+++ b/packaging/libtdm-drm.spec
@@ -48,6 +48,10 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%make_install
+# make lincense directory and move COPY to it.
+mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tdm-drm
+cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tdm-drm
+
%post
if [ -f %{_libdir}/tdm/libtdm-default.so ]; then
rm -rf %{_libdir}/tdm/libtdm-default.so
@@ -72,5 +76,5 @@ ln -s libhal-backend-tdm-drm.so %{_hal_libdir}/libhal-backend-tdm.so
%files -n hal-backend-tdm-drm
%manifest libhal-backend-tdm-drm.manifest
-%license COPYING
+%{_hal_licensedir}/libhal-backend-tdm-drm/COPYING
%{_hal_libdir}/libhal-backend-*.so*