[p11-kit] fix license handling

Tom Callaway spot at fedoraproject.org
Wed Jul 30 14:47:34 UTC 2014


commit a1a7d1f3faae58752eaf8f5b48cd5157c0b5a73c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Wed Jul 30 10:47:27 2014 -0400

    fix license handling

 p11-kit.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/p11-kit.spec b/p11-kit.spec
index a1c271a..3ac209e 100644
--- a/p11-kit.spec
+++ b/p11-kit.spec
@@ -1,6 +1,6 @@
 Name:           p11-kit
 Version:        0.20.3
-Release:        1%{?dist}
+Release:        3%{?dist}
 Summary:        Library for loading and sharing PKCS#11 modules
 
 License:        BSD
@@ -86,7 +86,9 @@ fi
 
 
 %files
-%doc AUTHORS COPYING NEWS README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS NEWS README
 %doc p11-kit/pkcs11.conf.example
 %dir %{_sysconfdir}/pkcs11
 %dir %{_sysconfdir}/pkcs11/modules
@@ -115,6 +117,9 @@ fi
 
 
 %changelog
+* Wed Jul 30 2014 Tom Callaway <spot at fedoraproject.org> - 0.20.3-3
+- fix license handling
+
 * Fri Jul 04 2014 Stef Walter <stefw at redhat.com> - 0.20.3-2
 - Update to stable 0.20.3 release
 


More information about the scm-commits mailing list