[crypto-policies/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 21:03:56 UTC 2014


commit 9a7a34dac33b3d43c51520ad9d40452c23571659
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 17:04:13 2014 -0400

    fix license handling

 crypto-policies.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/crypto-policies.spec b/crypto-policies.spec
index 04d7d05..687afe1 100644
--- a/crypto-policies.spec
+++ b/crypto-policies.spec
@@ -5,7 +5,7 @@
 
 Name:           crypto-policies
 Version:        %{git_date}
-Release:        1.git%{git_commit_hash}%{?dist}
+Release:        2.git%{git_commit_hash}%{?dist}
 Summary:        Crypto policies package for Fedora
 
 License:        LGPLv2+
@@ -63,9 +63,13 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/crypto-policies/config
 %{_mandir}/man8/update-crypto-policies.8.gz
 %{_datadir}/crypto-policies/profiles/
 
-%doc COPYING.LESSER
+%{!?_licensedir:%global license %%doc}
+%license COPYING.LESSER
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 20140708-2-git3a7ae3f
+- fix license handling
+
 * Tue Jul 08 2014 Nikos Mavrogiannopoulos <nmav at redhat.com> - 20140708-1-git3a7ae3f
 - updated crypto-policies from repository
 


More information about the scm-commits mailing list