[openldap] fix license handling
Tom Callaway
spot at fedoraproject.org
Fri Jul 18 23:24:05 UTC 2014
commit cda7221c9b854ded909cd276122e468b02c5fd36
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jul 18 19:24:30 2014 -0400
fix license handling
openldap.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/openldap.spec b/openldap.spec
index 837fc4d..7e024fe 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -5,7 +5,7 @@
Name: openldap
Version: 2.4.39
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: LDAP support libraries
Group: System Environment/Daemons
License: OpenLDAP
@@ -485,8 +485,9 @@ exit 0
%files
%doc openldap-%{version}/ANNOUNCEMENT
%doc openldap-%{version}/CHANGES
-%doc openldap-%{version}/COPYRIGHT
-%doc openldap-%{version}/LICENSE
+%{!?_licensedir:%global license %%doc}
+%license openldap-%{version}/COPYRIGHT
+%license openldap-%{version}/LICENSE
%doc openldap-%{version}/README
%dir %{_sysconfdir}/openldap
%dir %{_sysconfdir}/openldap/certs
@@ -577,6 +578,9 @@ exit 0
%{_mandir}/man3/*
%changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.4.39-10
+- fix license handling
+
* Mon Jul 14 2014 Jan Synáček <jsynacek at redhat.com> - 2.4.39-9
- fix: fix typo in generate-server-cert.sh (#1117229)
More information about the scm-commits
mailing list