From 5d6ef73e7e72f4f163072f05b4eab1c2ae966a76 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 08:27:19 +0000 Subject: [PATCH 1/3] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libmodulemd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libmodulemd.spec b/libmodulemd.spec index 31d9480..ebf0146 100644 --- a/libmodulemd.spec +++ b/libmodulemd.spec @@ -6,7 +6,7 @@ Name: libmodulemd Version: %{majorminorversion}%{?patchversion:.%{patchversion}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Module metadata manipulation library License: MIT @@ -70,6 +70,9 @@ export LC_CTYPE=C.utf8 %{_datadir}/gtk-doc/html/modulemd/ %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sat Jun 23 2018 Stephen Gallagher - 1.5.2-1 - Update to libdmodulemd 1.5.2 - Don't free uninitialized memory From aea038eeabe0cbfc2ee7a4d8a7fbcee9a2a86c82 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 3 Jul 2018 11:51:08 -0400 Subject: [PATCH 2/3] Update to 1.6.0 Signed-off-by: Stephen Gallagher --- .gitignore | 1 + libmodulemd.spec | 32 ++++++++++++++++++++++++++++---- sources | 2 +- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 80e98b9..d38aa68 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /modulemd-1.5.0.tar.xz /modulemd-1.5.1.tar.xz /modulemd-1.5.2.tar.xz +/modulemd-1.6.0.tar.xz diff --git a/libmodulemd.spec b/libmodulemd.spec index ebf0146..8532a34 100644 --- a/libmodulemd.spec +++ b/libmodulemd.spec @@ -1,12 +1,12 @@ %global majorversion 1 -%global minorversion 5 -%global patchversion 2 +%global minorversion 6 +%global patchversion 0 %global majorminorversion %{majorversion}.%{minorversion} %global nsversion %{majorversion}.0 Name: libmodulemd Version: %{majorminorversion}%{?patchversion:.%{patchversion}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Module metadata manipulation library License: MIT @@ -20,6 +20,7 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(yaml-0.1) BuildRequires: pkgconfig(gtk-doc) BuildRequires: python3-gobject-base +BuildRequires: valgrind # Patches @@ -43,7 +44,15 @@ Development files for libmodulemd. %meson_build %check + export LC_CTYPE=C.utf8 + +%ifarch %{power64} +# Valgrind is broken on ppc64[le] with GCC7: +# https://bugs.kde.org/show_bug.cgi?id=386945 +export MMD_SKIP_VALGRIND=1 +%endif + %meson_test %install @@ -67,9 +76,24 @@ export LC_CTYPE=C.utf8 %{_datadir}/gir-1.0/Modulemd-%{nsversion}.gir %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html -%{_datadir}/gtk-doc/html/modulemd/ +%{_datadir}/gtk-doc/html/modulemd-1.0/ %changelog +* Wed Jul 18 2018 Stephen Gallagher - 1.6.0-1 +- Update to 1.6.0 +- Adds Modulemd.ModuleStream object, deprecating Modulemd.Module +- Adds Modulemd.Translation and Modulemd.TranslationEntry objects +- Adds Modulemd.ImprovedModule object that collects streams, defaults and + translations together +- Adds new Modulemd.index_from_*() funtions to get a hash table of + Modulemd.ImprovedModule objects for easier searching +- Moves function documentation to the public headers +- Corrects the license headers to MIT (they were incorrectly listed as MITNFA + in previous releases) +- Makes the "eol" field optional for Modulemd.ServiceLevel +- Clean up HTML documentation +- Fixes a type error on 32-bit systems + * Fri Jul 13 2018 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 1f3a110..5f7d2f9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (modulemd-1.5.2.tar.xz) = ba368712c37cdf7ff72649efa7ef165d4e38522909471d106a4f39e57f20fc437aaa7d0200516cea373eb83779a6abb53377306ea99d0c901f4f647d47ab8f00 +SHA512 (modulemd-1.6.0.tar.xz) = 76fb0e1c8fd2bc66ec68740ac177705746834eac15291d326339b186b9f7dd5c42f1c870963e65f29b68eb25538a5f015995b5a10db099c2ffa867911fb69481 From 247d91a9a5bba1b9ac297dfcb59b41dfd925be0a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 18 Jul 2018 09:33:30 -0400 Subject: [PATCH 3/3] Drop unused patch Signed-off-by: Stephen Gallagher --- ...d.props.buildopts-at-object-creation.patch | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 0001-Allocate-Modulemd.props.buildopts-at-object-creation.patch diff --git a/0001-Allocate-Modulemd.props.buildopts-at-object-creation.patch b/0001-Allocate-Modulemd.props.buildopts-at-object-creation.patch deleted file mode 100644 index 7f2a717..0000000 --- a/0001-Allocate-Modulemd.props.buildopts-at-object-creation.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 0039d41002629342e245d43350702b502aabe3f1 Mon Sep 17 00:00:00 2001 -From: Stephen Gallagher -Date: Fri, 22 Jun 2018 13:26:01 -0400 -Subject: [PATCH] Allocate Modulemd.props.buildopts at object creation - -Resolves: https://github.com/fedora-modularity/libmodulemd/issues/72 - -Signed-off-by: Stephen Gallagher ---- - modulemd/modulemd-module.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/modulemd/modulemd-module.c b/modulemd/modulemd-module.c -index 9eb391a4ff82f4b1b2f660276cb3f46962f774b7..49c4818a9130c7af31d4abf0cbbb898f06d779a3 100644 ---- a/modulemd/modulemd-module.c -+++ b/modulemd/modulemd-module.c -@@ -3460,10 +3460,12 @@ modulemd_module_class_init (ModulemdModuleClass *klass) - - static void - modulemd_module_init (ModulemdModule *self) - { - /* Allocate the members */ -+ self->buildopts = modulemd_buildopts_new (); -+ - self->buildrequires = - g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); - - self->module_components = - g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); --- -2.17.1 -