From a53677d01bd96bc6aebcf74232c7103569f0b5c5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 15:23:38 -0400 Subject: fix license handling --- libssh2.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libssh2.spec b/libssh2.spec index e65e61a..8a8ce1e 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -12,7 +12,7 @@ Name: libssh2 Version: 1.4.3 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A library implementing the SSH2 protocol Group: System Environment/Libraries License: BSD @@ -157,7 +157,9 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %files -%doc AUTHORS ChangeLog COPYING README NEWS +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS ChangeLog README NEWS %{_libdir}/libssh2.so.1 %{_libdir}/libssh2.so.1.* @@ -174,6 +176,9 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/libssh2.pc %changelog +* Fri Jul 18 2014 Tom Callaway - 1.4.3-14 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.4.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild -- cgit