Update to libmodulemd 0.2.0

Adds gtk-doc generated documentation
(ABI-break) Makes all optional properties accept NULL as a value to clear
  them
(ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
  GLib.PtrArray
Fixes a bug where the name was not always set for components
Adds support for dumping YAML from the introspected API
Includes add/remove routines for profiles

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2017-10-05 09:03:22 -04:00
parent b0d3585311
commit 1bff070b75
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3
4 changed files with 18 additions and 47 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/modulemd-0.1.0.tar.xz
/modulemd-0.2.0.tar.xz

View File

@ -1,42 +0,0 @@
From 9543c464bcafe96be6a81283db8640fdfefb4196 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Mon, 18 Sep 2017 15:42:27 -0400
Subject: [PATCH] Correct license to MIT
---
COPYING | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/COPYING b/COPYING
index 574ed8b0386ee3b3c91e61f699311487b5f8652c..64a7d2715a7a22896340528566a9578ac683d891 100644
--- a/COPYING
+++ b/COPYING
@@ -1,18 +1,9 @@
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
+The MIT License (MIT)
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+Copyright (c) 2017 Stephen Gallagher <sgallagh@redhat.com>
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--
2.13.5

View File

@ -1,9 +1,9 @@
%global majorminorversion 0.1
%global majorminorversion 0.2
%global patchversion 0
Name: libmodulemd
Version: %{majorminorversion}%{?patchversion:.%{patchversion}}
Release: 5%{?dist}
Release: 1%{?dist}
Summary: Module metadata manipulation library
License: MIT
@ -16,8 +16,6 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(yaml-0.1)
Patch0001: 0001-Correct-license-to-MIT.patch
%description
C Library for manipulating module metadata files
See https://pagure.io/modulemd for more details.
@ -57,8 +55,22 @@ export LC_CTYPE=C.utf8
%{_libdir}/pkgconfig/modulemd.pc
%{_includedir}/modulemd
%{_datadir}/gir-1.0/Modulemd-%{majorminorversion}.gir
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/modulemd/
%changelog
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-1
- Update to libmodulemd 0.2.0
- Adds gtk-doc generated documentation
- (ABI-break) Makes all optional properties accept NULL as a value to clear
them
- (ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
GLib.PtrArray
- Fixes a bug where the name was not always set for components
- Adds support for dumping YAML from the introspected API
- Includes add/remove routines for profiles
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-5
- Use %%_isa in Requires for main package from devel

View File

@ -1 +1 @@
SHA512 (modulemd-0.1.0.tar.xz) = bcc0e790624606744a7533acb1fa43f9137aa61626a6728507ba2cf115c404da6526c201d6555e948003068532a9e7abe42cd87b35ab9c0f06dee7b9112db64e
SHA512 (modulemd-0.2.0.tar.xz) = 73eec0a7c94f2b2bb9f7624b7f9ce88ed47c6f65acbe8b7114c384596a351435ba1ef37bf1f00b70bd3dcc9f527d24a0d0c4e8a93dc6708f659fcc859e987961