From: Dmitry Kovalenko Date: Mon, 21 Aug 2017 09:47:15 +0000 (+0300) Subject: use license macro in the spec file X-Git-Tag: accepted/tizen/4.0/unified/20171012.191640^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibwebsockets.git;a=commitdiff_plain;h=ba305884afb39e6baf2cb5b17bd8152c67227430 use license macro in the spec file Change-Id: I6d9e5baae91404d0b53556306e2a04c8f130f291 Signed-off-by: Dmitry Kovalenko --- diff --git a/packaging/libwebsockets.spec b/packaging/libwebsockets.spec index 51e3383..9006907 100644 --- a/packaging/libwebsockets.spec +++ b/packaging/libwebsockets.spec @@ -39,8 +39,6 @@ make %{?jobs:-j%jobs} rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}%{_datadir}/license -install -m0644 %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}%{_datadir}/license/%{name} %post -p /sbin/ldconfig @@ -50,7 +48,7 @@ install -m0644 %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}%{_datadir}/licen %manifest %{name}.manifest %defattr(-,root,root,-) %{_libdir}/libwebsockets*.so.* -%{_datadir}/license/%{name} +%license LICENSE %files devel %defattr(-,root,root,-)