summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kovalenko <d.kovalenko@samsung.com>2017-03-27 10:15:57 +0300
committerDmitry Kovalenko <d.kovalenko@samsung.com>2017-03-27 10:17:30 +0300
commitd583ceddc5bb0866215c7352bcf5fe7f175a3040 (patch)
tree5dc70a3cc8339014d62328ffca66debc5faccaf7
parent8597022e171178fe9df5b8ec79a5458d46a66c7a (diff)
downloadswap-probe-accepted/tizen_mobile.tar.gz
swap-probe-accepted/tizen_mobile.tar.bz2
swap-probe-accepted/tizen_mobile.zip
Change-Id: Ia0be79eb837797f5a0e8c2206b9803aa3fcbf41a
-rw-r--r--packaging/swap-probe.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/packaging/swap-probe.spec b/packaging/swap-probe.spec
index 773f8ae..9388d11 100644
--- a/packaging/swap-probe.spec
+++ b/packaging/swap-probe.spec
@@ -113,9 +113,6 @@ make ldheader
%install
rm -rf ${RPM_BUILD_ROOT}
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE.MIT %{buildroot}/usr/share/license/%{name}
-cat LICENSE.LGPLv2.1+ >> %{buildroot}/usr/share/license/%{name}
mkdir -p %{buildroot}/usr/local/include
mkdir -p %{buildroot}/usr/local/bin
@@ -123,7 +120,8 @@ mkdir -p %{buildroot}/usr/local/bin
%make_install
%files -n swap-probe
-/usr/share/license/%{name}
+%license LICENSE.MIT
+%license LICENSE.LGPLv2.1+
%manifest swap-probe.manifest
%defattr(-,root,root,-)
@@ -138,6 +136,8 @@ mkdir -p %{buildroot}/usr/local/bin
/usr/local/include/linker_info.h
%files -n swap-probe-elf
+%license LICENSE.MIT
+%license LICENSE.LGPLv2.1+
%manifest swap-probe-elf.manifest
%defattr(-,root,root,-)
/usr/local/bin/parse_elf
@@ -145,6 +145,7 @@ mkdir -p %{buildroot}/usr/local/bin
%{_prefix}/lib/libparserelf.so
%files -n swap-probe-lsan
+%license LICENSE.compiler-rt
%manifest swap-probe-lsan.manifest
%defattr(-,root,root,-)
%{_prefix}/lib/da_swap_lsan.so