[libgcrypt] fix license handling
Tom Callaway
spot at fedoraproject.org
Thu Jul 17 18:39:39 UTC 2014
commit 4b3e9442765830ecc564f07f737e0ccf88398e90
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Jul 17 14:40:00 2014 -0400
fix license handling
libgcrypt.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/libgcrypt.spec b/libgcrypt.spec
index 63ebf34..4887098 100644
--- a/libgcrypt.spec
+++ b/libgcrypt.spec
@@ -1,6 +1,6 @@
Name: libgcrypt
Version: 1.6.1
-Release: 5%{?dist}
+Release: 6%{?dist}
URL: http://www.gnupg.org/
Source0: libgcrypt-%{version}-hobbled.tar.xz
# The original libgcrypt sources now contain potentially patented ECC
@@ -168,7 +168,9 @@ exit 0
%dir /etc/gcrypt
%{gcrylibdir}/libgcrypt.so.*
%{gcrylibdir}/.libgcrypt.so.*.hmac
-%doc COPYING.LIB AUTHORS NEWS THANKS
+%{!?_licensedir:%global license %%doc}
+%license COPYING.LIB
+%doc AUTHORS NEWS THANKS
%files devel
%defattr(-,root,root,-)
@@ -182,9 +184,13 @@ exit 0
%{_mandir}/man1/*
%{_infodir}/gcrypt.info*
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%changelog
+* Thu Jul 17 2014 Tom Callaway <spot at fedoraproject.org> - 1.6.1-6
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list