From 6060be6994a7a5e46790f0187f023b5dad18429a Mon Sep 17 00:00:00 2001 From: Hyungdeuk Kim Date: Wed, 25 Sep 2013 09:53:50 +0900 Subject: [PATCH] install license file --- packaging/heynoti.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/heynoti.spec b/packaging/heynoti.spec index d9cc28c..891f7d9 100644 --- a/packaging/heynoti.spec +++ b/packaging/heynoti.spec @@ -2,7 +2,7 @@ Name: heynoti Version: 0.0.2 -Release: 40 +Release: 41 License: Apache License, Version 2.0 Summary: HEY (ligHt Easy speedy) notification library Group: System/Libraries @@ -37,7 +37,8 @@ make %{?_smp_mflags} %install %make_install - +mkdir -p %{buildroot}/usr/share/license +install LICENSE %{buildroot}/usr/share/license/%{name} mkdir -p %{buildroot}/opt/share/noti %post -p /sbin/ldconfig @@ -52,6 +53,7 @@ mkdir -p %{buildroot}/opt/share/noti %{_libdir}/libheynoti.so.0.0.2 %{_bindir}/heynotitool %attr(1755,root,root) /opt/share/noti +/usr/share/license/%{name} %files devel -- 2.7.4