From 30045d4099bd6a3950d937efcf30156e20f1b57f Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 12 Jul 2014 11:13:23 -0400 Subject: [PATCH] fix license handling --- glib2.spec | 9 +++++++-- 1 file 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 - 2.41.1-2 +- fix license handling + * Tue Jun 24 2014 Richard Hughes - 2.41.1-1 - Update to 2.41.1