[libassuan/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Thu Jul 17 18:09:14 UTC 2014


commit cd485a18b88f9eb0276739f977c4b6a47b4c8130
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Jul 17 14:09:34 2014 -0400

    fix license handling

 libassuan.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libassuan.spec b/libassuan.spec
index 58600e7..a936230 100644
--- a/libassuan.spec
+++ b/libassuan.spec
@@ -1,7 +1,7 @@
 Name:    libassuan
 Summary: GnuPG IPC library
 Version: 2.1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 # The library is LGPLv2+, the documentation GPLv3+
 License: LGPLv2+ and GPLv3+
@@ -76,7 +76,9 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING COPYING.LIB NEWS README THANKS TODO
+%{!?_licensedir:%global license %%doc}
+%license COPYING COPYING.LIB
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %{_libdir}/libassuan.so.0*
 
 %files devel 
@@ -89,6 +91,9 @@ fi
 
 
 %changelog
+* Thu Jul 17 2014 Tom Callaway <spot at fedoraproject.org> - 2.1.0-4
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list