[packages/libmodulemd] - updated to 2.15.0
qboosh
qboosh at pld-linux.org
Sat May 20 11:36:57 CEST 2023
commit 77d6329f6133b7b734ea9ab4c9de314759c28f37
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 20 11:39:27 2023 +0200
- updated to 2.15.0
libmodulemd.spec | 8 +++-----
no-docs-for-build.patch | 18 +++++++++++-------
2 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/libmodulemd.spec b/libmodulemd.spec
index 407a8d7..8a19763 100644
--- a/libmodulemd.spec
+++ b/libmodulemd.spec
@@ -8,20 +8,19 @@
Summary: Module metadata manipulation library
Summary(pl.UTF-8): Biblioteka operowania na metadanych modułów
Name: libmodulemd
-Version: 2.14.0
+Version: 2.15.0
Release: 1
License: MIT
Group: Libraries
#Source0Download: https://github.com/fedora-modularity/libmodulemd/releases
Source0: https://github.com/fedora-modularity/libmodulemd/releases/download/%{version}/modulemd-%{version}.tar.xz
-# Source0-md5: 607ca8676d3e6dbf04f24ecf80b2c97f
+# Source0-md5: 3d231596fad04b1a16ff67257b3145da
Patch0: no-docs-for-build.patch
URL: https://github.com/fedora-modularity/libmodulemd
BuildRequires: glib2-devel >= 2.0
%{?with_apidocs:BuildRequires: gtk-doc}
BuildRequires: gobject-introspection-devel
-BuildRequires: libmagic-devel
-BuildRequires: meson >= 0.47.0
+BuildRequires: meson >= 0.55.0
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
%{?with_python2:BuildRequires: python-modules >= 1:2.5}
@@ -46,7 +45,6 @@ Summary(pl.UTF-8): Pliki nagłówkowe biblioteki modulemd
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel >= 2.0
-Requires: libmagic-devel
Requires: rpm-devel
Requires: yaml-devel
diff --git a/no-docs-for-build.patch b/no-docs-for-build.patch
index 168d284..8dec6d5 100644
--- a/no-docs-for-build.patch
+++ b/no-docs-for-build.patch
@@ -1,19 +1,23 @@
---- modulemd-2.14.0/meson.build.orig 2022-04-28 22:13:05.367853234 +0200
-+++ modulemd-2.14.0/meson.build 2022-04-28 22:16:00.986901824 +0200
-@@ -67,17 +67,7 @@ test = find_program('test')
+--- modulemd-2.15.0/meson.build.orig 2023-05-20 11:03:06.755527932 +0200
++++ modulemd-2.15.0/meson.build 2023-05-20 11:05:27.564765103 +0200
+@@ -69,21 +69,7 @@ test = find_program('test')
with_docs = get_option('with_docs')
if with_docs
gtkdoc = dependency('gtk-doc')
- glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
-
-- ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
+- glib_index_path = join_paths(glib_docpath, 'glib/index.html')
+- ret = run_command ([test, '-e', glib_index_path],
+- check: false)
- if ret.returncode() != 0
-- error('Missing documentation for GLib.')
+- error('Missing documentation for GLib: @0@'.format(glib_index_path))
- endif
-
-- ret = run_command ([test, '-e', join_paths(glib_docpath, 'gobject/index.html')])
+- gobject_index_path = join_paths(glib_docpath, 'gobject/index.html')
+- ret = run_command ([test, '-e', gobject_index_path],
+- check: false)
- if ret.returncode() != 0
-- error('Missing documentation for GObject.')
+- error('Missing documentation for GObject: @0@'.format(gobject_index_path))
- endif
+ glib_docpath = get_option('glib_docpath')
endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmodulemd.git/commitdiff/77d6329f6133b7b734ea9ab4c9de314759c28f37
More information about the pld-cvs-commit
mailing list