[shared-mime-info/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Tue Aug 5 13:06:28 UTC 2014


commit 21664f499aa14b503b42a0599a453bc41b8c31f3
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Aug 5 09:06:21 2014 -0400

    fix license handling

 shared-mime-info.spec |    9 +++++++--
 1 files 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 <spot at fedoraproject.org - 1.3-11
+- fix license handling
+
 * Thu Jul 31 2014 Kalev Lember <kalevlember at gmail.com> - 1.3-10
 - Update defaults.list for gedit desktop filename change
 


More information about the scm-commits mailing list