From b68eb69e41bb85d275104094bc52500b08c89db9 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 15 Feb 2018 20:13:30 -0500 Subject: [PATCH] Support modulemd v2 - Add tool to do quick validation of modulemd - Fix memory management - Warn and ignore unparseable sub-documents in the YAML - Fix several memory issues detected by Coverity scan Signed-off-by: Stephen Gallagher --- .gitignore | 2 ++ libmodulemd.spec | 15 ++++++++++++--- sources | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 05606e3..a49e0cf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /modulemd-0.2.0.tar.xz /modulemd-0.2.1.tar.xz /modulemd-0.2.2.tar.xz +/modulemd-1.0.0.tar.xz +/modulemd-1.0.1.tar.xz diff --git a/libmodulemd.spec b/libmodulemd.spec index c2eb756..c119cc7 100644 --- a/libmodulemd.spec +++ b/libmodulemd.spec @@ -1,6 +1,6 @@ -%global majorversion 0 -%global minorversion 2 -%global patchversion 2 +%global majorversion 1 +%global minorversion 0 +%global patchversion 1 %global majorminorversion %{majorversion}.%{minorversion} Name: libmodulemd @@ -18,6 +18,7 @@ BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(yaml-0.1) BuildRequires: pkgconfig(gtk-doc) +BuildRequires: pkgconfig(popt) %description C Library for manipulating module metadata files. @@ -49,6 +50,7 @@ export LC_CTYPE=C.utf8 %files %license COPYING %doc README.md +%{_bindir}/modulemd-validator %{_libdir}/%{name}.so.%{majorversion}* %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/Modulemd-%{majorminorversion}.typelib @@ -64,6 +66,13 @@ export LC_CTYPE=C.utf8 %{_datadir}/gtk-doc/html/modulemd/ %changelog +* Thu Feb 15 2018 Stephen Gallagher - 1.0.1-1 +- Support modulemd v2 +- Add tool to do quick validation of modulemd +- Fix memory management +- Warn and ignore unparseable sub-documents in the YAML +- Fix several memory issues detected by Coverity scan + * Tue Feb 06 2018 Stephen Gallagher - 0.2.2-1 - Update to libmodulemd 0.2.2 - Fix numerous minor memory leaks diff --git a/sources b/sources index 41a1ce6..e8a167b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (modulemd-0.2.2.tar.xz) = adfd2bbb0e7e4047f53f485c1f2ea51510c5d223395207b3bc4e670a9f2c166dcd70425f317a98cce74349a20f615f49bc0cfe0913bd9e66d2a0ece6e76307b9 +SHA512 (modulemd-1.0.1.tar.xz) = b1b0c4e4bf75b4d7152ce76fc67189511a362a9c69a1ed708eed7004ed6dc4a31e2cc1bcd9364c38c58579d9176a567d6e870a4e3e6660b97e9108e9610c0cd3