From c64abcbb2fc65d0c3fd238145b15beb69c2cd933 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 19:24:48 -0400 Subject: [PATCH] fix license handling --- openldap.spec | 10 +++++++--- 1 file 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 - 2.4.39-10 +- fix license handling + * Mon Jul 14 2014 Jan Synáček - 2.4.39-9 - fix: fix typo in generate-server-cert.sh (#1117229)