From 92f536e4b996e07092972f27d2aa79ea88302273 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 17 Jul 2014 14:32:50 -0400 Subject: [PATCH] fix license handling --- libedit.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libedit.spec b/libedit.spec index 6e6cfbb..65ca03f 100644 --- a/libedit.spec +++ b/libedit.spec @@ -3,7 +3,7 @@ Summary: The NetBSD Editline library Name: libedit Version: 3.1 -Release: 6.%{snap}cvs%{?dist} +Release: 7.%{snap}cvs%{?dist} License: BSD Group: System Environment/Libraries URL: http://www.thrysoee.dk/editline/ @@ -51,7 +51,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete %postun -p /sbin/ldconfig %files -%doc ChangeLog COPYING THANKS +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc ChangeLog THANKS %{_libdir}/%{name}.so.* %files devel @@ -66,6 +68,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete %{_includedir}/editline/readline.h %changelog +* Thu Jul 17 2014 Tom Callaway - 3.1-7.20140213cvs +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 3.1-6.20140213cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild