[glib2] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 15:12:29 UTC 2014


commit 2f6436c1525ff0e5c4082db80e58157b3462808c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 11:12:45 2014 -0400

    fix license handling

 glib2.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/glib2.spec b/glib2.spec
index 38a8db8..916e6b5 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.41.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -143,7 +143,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
 
 
 %files -f glib20.lang
-%doc AUTHORS COPYING NEWS README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS NEWS README
 %{_libdir}/libglib-2.0.so.*
 %{_libdir}/libgthread-2.0.so.*
 %{_libdir}/libgmodule-2.0.so.*
@@ -221,6 +223,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
 %{_datadir}/installed-tests
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org> - 2.41.1-2
+- fix license handling
+
 * Tue Jun 24 2014 Richard Hughes <rhughes at redhat.com> - 2.41.1-1
 - Update to 2.41.1
 


More information about the scm-commits mailing list