[libtasn1/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:27:07 UTC 2014


commit a1db9bfa17efbf61c49adbbc64f263e01db01407
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:27:11 2014 -0400

    fix license handling

 libtasn1.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libtasn1.spec b/libtasn1.spec
index 22b8686..7b30fe2 100644
--- a/libtasn1.spec
+++ b/libtasn1.spec
@@ -1,7 +1,7 @@
 Summary:	The ASN.1 library used in GNUTLS
 Name:		libtasn1
 Version:	4.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 
 # The libtasn1 library is LGPLv2+, utilities are GPLv3+
 License:	GPLv3+ and LGPLv2+
@@ -86,7 +86,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
 %files
 %defattr(-,root,root,-)
 %doc doc/TODO doc/*.pdf
-%doc AUTHORS COPYING* NEWS README THANKS
+%{!?_licensedir:%global license %%doc}
+%license COPYING*
+%doc AUTHORS NEWS README THANKS
 %_libdir/*.so.6*
 
 %files tools
@@ -104,6 +106,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
 
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 4.0-2
+- fix license handling
+
 * Mon Jun 30 2014 Nikos Mavrogiannopoulos <nmav at redhat.com> - 4.0-1
 - new upstream release
 


More information about the scm-commits mailing list