From 0fbcc454243530245620d0d8a21bcb8a7e5a7c39 Mon Sep 17 00:00:00 2001 From: jeesun Date: Mon, 16 Sep 2013 13:23:56 +0900 Subject: [misc] install license in spec Change-Id: I90fa66a2beff007257701b4bdb5c77444d4b5db8 --- packaging/zeromq.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/zeromq.spec b/packaging/zeromq.spec index 3703e2c..5416fee 100644 --- a/packaging/zeromq.spec +++ b/packaging/zeromq.spec @@ -55,6 +55,10 @@ This package contains ZeroMQ related development libraries and header files. %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/license +cp COPYING %{buildroot}/usr/share/license/%{name} +cat COPYING.LESSER >> %{buildroot}/usr/share/license/%{name} + # Install the package to build area #%{__make} check %makeinstall @@ -79,6 +83,8 @@ This package contains ZeroMQ related development libraries and header files. %{_libdir}/libzmq.so.3 %{_libdir}/libzmq.so.3.0.0 +/usr/share/license/%{name} + #%attr(0755,root,root) %{_bindir}/zmq_forwarder #%attr(0755,root,root) %{_bindir}/zmq_queue #%attr(0755,root,root) %{_bindir}/zmq_streamer -- cgit v1.2.3