[man-db/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 20:12:15 UTC 2014


commit 6854183dc3a1543d441160272357b16657f2778d
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 16:12:39 2014 -0400

    fix license handling

 man-db.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/man-db.spec b/man-db.spec
index 02b1cad..9f23f5f 100644
--- a/man-db.spec
+++ b/man-db.spec
@@ -4,7 +4,7 @@
 Summary: Tools for searching and reading man pages
 Name: man-db
 Version: 2.6.7.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 # GPLv2+ .. man-db
 # GPLv3+ .. gnulib
 License: GPLv2+ and GPLv3+
@@ -82,7 +82,9 @@ install -D -p -m 0644 init/systemd/man-db.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.
 %{__rm} -rf %{cache}/*
 
 %files -f %{name}.lang -f %{name}-gnulib.lang
-%doc README man-db-manual.txt man-db-manual.ps docs/COPYING ChangeLog NEWS
+%{!?_licensedir:%global license %%doc}
+%license docs/COPYING
+%doc README man-db-manual.txt man-db-manual.ps ChangeLog NEWS
 %config(noreplace) %{_sysconfdir}/man_db.conf
 %config(noreplace) %{_sysconfdir}/sysconfig/man-db
 %config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron
@@ -125,6 +127,9 @@ install -D -p -m 0644 init/systemd/man-db.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.
 %lang(zh_CN)   %{_datadir}/man/zh_CN/man*/*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.6.7.1-5
+- fix license handling
+
 * Tue Jul 01 2014 jchaloup <jchaloup at redhat.com> - 2.6.7.1-4
 - related: #1110274
   swapping root for man in man-db.conf


More information about the scm-commits mailing list