From: Dongsun Lee Date: Wed, 29 Mar 2017 07:50:43 +0000 (+0900) Subject: Add %license macro for each sub package X-Git-Tag: accepted/tizen/4.0/unified/20170816.012015^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_wearable;p=platform%2Fupstream%2Fnettle.git Add %license macro for each sub package Change-Id: I4cdf82c0b085bb91639798869940731425ea4d61 Signed-off-by: Dongsun Lee --- diff --git a/packaging/nettle.spec b/packaging/nettle.spec index b086dcc..7db9eab 100644 --- a/packaging/nettle.spec +++ b/packaging/nettle.spec @@ -45,7 +45,7 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n libnettle Summary: Cryptographic Tools -License: LGPL-2.1+ and GPL-2.0+ +License: LGPL-2.1+ Group: Security/Crypto Libraries %description -n libnettle @@ -88,17 +88,19 @@ make check %files -n libnettle %manifest %{name}.manifest %defattr(-,root,root) -%license COPYING* +%license COPYING.LIB %{_libdir}/libnettle.so.* %files -n libhogweed %manifest %{name}.manifest %defattr(-,root,root) +%license COPYING.LIB %{_libdir}/libhogweed.so.* %files -n libnettle-devel %manifest %{name}.manifest %defattr(-,root,root) +%license COPYING.LIB %{_includedir}/nettle %{_libdir}/libnettle.so %{_libdir}/libhogweed.so @@ -108,6 +110,7 @@ make check %files -n nettle %manifest %{name}.manifest %defattr(-,root,root) +%license COPYING* %{_bindir}/nettle-lfib-stream %{_bindir}/pkcs1-conv %{_bindir}/sexp-conv