From 4b27098b5bc6f667b1496e175d0566308c3fe82e Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Thu, 18 May 2017 10:13:46 +0900 Subject: [PATCH] use license macro in the spec file Change-Id: I29eb21b7e528d92751ead52962f172cb1d757d1d --- packaging/libwebsockets.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/libwebsockets.spec b/packaging/libwebsockets.spec index fbaba07..2923361 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