From 2b61f96efd94d8d8b994683c7e42cab99e8de862 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 14:56:47 -0400 Subject: [PATCH] fix license handling --- libidn.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libidn.spec b/libidn.spec index 88db86b..823f0aa 100644 --- a/libidn.spec +++ b/libidn.spec @@ -1,7 +1,7 @@ Summary: Internationalized Domain Name support library Name: libidn Version: 1.28 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://www.gnu.org/software/libidn/ License: LGPLv2+ and GPLv3+ and GFDL Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz @@ -95,7 +95,9 @@ fi %postun -p /sbin/ldconfig %files -f %{name}.lang -%doc AUTHORS NEWS FAQ README THANKS COPYING* +%{!?_licensedir:%global license %%doc} +%license COPYING* +%doc AUTHORS NEWS FAQ README THANKS %{_bindir}/idn %{_mandir}/man1/idn.1* %{_libdir}/libidn.so.* @@ -112,6 +114,9 @@ fi %{_emacs_sitelispdir}/%{name} %changelog +* Fri Jul 18 2014 Tom Callaway - 1.28-4 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.28-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild