From 7012d15ca20e54db78a305a0d043940be346f3f6 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 16:09:36 -0400 Subject: [PATCH] fix license handling --- man-db.spec | 9 +++++++-- 1 file 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 - 2.6.7.1-5 +- fix license handling + * Tue Jul 01 2014 jchaloup - 2.6.7.1-4 - related: #1110274 swapping root for man in man-db.conf