From e11453086177817b05e2791ad39ea4d4f19603a2 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 5 Aug 2014 09:05:42 -0400 Subject: [PATCH] fix license handling --- shared-mime-info.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 33508f3..7f007b8 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -1,7 +1,7 @@ Summary: Shared MIME information database Name: shared-mime-info Version: 1.3 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://freedesktop.org/Software/shared-mime-info @@ -83,7 +83,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* %files -f %{name}.files %defattr(-,root,root,-) -%doc README NEWS HACKING COPYING shared-mime-info-spec.xml +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc README NEWS HACKING shared-mime-info-spec.xml %{_bindir}/* %{_datadir}/mime/packages/* %{_datadir}/applications/defaults.list @@ -93,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* %{_mandir}/man*/* %changelog +* Tue Aug 5 2014 Tom Callaway - 1.3-10 - Update defaults.list for gedit desktop filename change