From 2f163ac0694e6010932639c3a885f0fd9af1bd9fa2536b6f8596d1c9ad7ad543 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 26 Nov 2020 12:22:38 +0000 Subject: [PATCH] Accepting request 849384 from home:yecril71pl:branches:GNOME:Factory - add %license COPYING - add %doc README.md - rename -tests to -tests-devel OBS-URL: https://build.opensuse.org/request/show/849384 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=440 --- glib2.changes | 7 +++++++ glib2.spec | 22 ++++++++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/glib2.changes b/glib2.changes index 6059156..9198ddd 100644 --- a/glib2.changes +++ b/glib2.changes @@ -16,6 +16,13 @@ Mon Nov 16 14:26:35 UTC 2020 - Bjørn Lie glgo#GNOME/GLib!1721, glgo#GNOME/GLib!1723, glgo#GNOME/GLib!1727, glgo#GNOME/GLib!1736. +------------------------------------------------------------------- +Sun Nov 15 18:52:39 UTC 2020 - Christopher Yeleighton + +- add %license COPYING +- add %doc README.md +- rename -tests to -tests-devel + ------------------------------------------------------------------- Thu Oct 22 11:45:40 UTC 2020 - Dominique Leuenberger diff --git a/glib2.spec b/glib2.spec index d1424e8..7adc26e 100644 --- a/glib2.spec +++ b/glib2.spec @@ -241,13 +241,15 @@ a main loop abstraction, and so on. The GObject library provides an object-oriented framework for C. -%package tests +%package tests-devel Summary: Tests for the glib2 package Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} +Provides: glib2-tests = %version-%release +Obsoletes: glib2-tests < %version-%release -%description tests -The glib2-tests package contains tests that can be used to verify +%description tests-devel +The glib2-tests-devel package contains tests that can be used to verify the functionality of the installed glib2 package. %lang_package @@ -395,6 +397,7 @@ done %endif %files tools +%license COPYING %{_bindir}/gapplication %{_bindir}/gdbus %{_bindir}/gio @@ -423,8 +426,10 @@ done # have a better home... The zzz-glib2 scripts could arguably be in # libglib-2_0-0 but that would break the shared library policy. %{_sysconfdir}/profile.d/zzz-glib2.* +%doc README.md %files -n gio-branding-upstream +%license COPYING %doc README.Gsettings-overrides %config (noreplace) %{_sysconfdir}/gnome_defaults.conf @@ -434,15 +439,19 @@ done %{_libdir}/libglib*.so.* %files -n libgmodule-2_0-0 +%license COPYING %{_libdir}/libgmodule*.so.* %files -n libgobject-2_0-0 +%license COPYING %{_libdir}/libgobject*.so.* %files -n libgthread-2_0-0 +%license COPYING %{_libdir}/libgthread*.so.* %files -n libgio-2_0-0 +%license COPYING %{_libdir}/libgio*.so.* %dir %{_libdir}/gio %dir %{_libdir}/gio/modules @@ -457,9 +466,11 @@ done %ghost %{_localstatedir}/cache/gio-2.0/lxde-mimeapps.list %files -n libgio-fam +%license COPYING %{_libdir}/gio/modules/libgiofam.so %files devel +%license COPYING %doc HACKING README.rationale %{_bindir}/gdbus-codegen %{_bindir}/glib-compile-resources @@ -520,11 +531,14 @@ done %dir %{_datadir}/gdb/auto-load%{_libdir} %files devel-static +%license COPYING %{_libdir}/lib*.a %files lang -f glib20.lang +%license COPYING -%files tests +%files tests-devel +%license COPYING %{_libexecdir}/installed-tests %{_datadir}/installed-tests