From ba305884afb39e6baf2cb5b17bd8152c67227430 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalenko Date: Mon, 21 Aug 2017 12:47:15 +0300 Subject: [PATCH] use license macro in the spec file Change-Id: I6d9e5baae91404d0b53556306e2a04c8f130f291 Signed-off-by: Dmitry Kovalenko --- packaging/libwebsockets.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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,-) -- 2.7.4