[libidn] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 18:56:23 UTC 2014


commit 2b61f96efd94d8d8b994683c7e42cab99e8de862
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 14:56:47 2014 -0400

    fix license handling

 libidn.spec |    9 +++++++--
 1 files 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 <spot at fedoraproject.org> - 1.28-4
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.28-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list