diff --git a/.gitignore b/.gitignore index 0e5d093..0ba0fe6 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /umockdev-0.15.5.tar.xz /umockdev-0.16.0.tar.xz /umockdev-0.16.1.tar.xz +/umockdev-0.16.2.tar.xz diff --git a/0001-docs-Remove-types-handling-from-docs.patch b/0001-docs-Remove-types-handling-from-docs.patch new file mode 100644 index 0000000..fcec44f --- /dev/null +++ b/0001-docs-Remove-types-handling-from-docs.patch @@ -0,0 +1,47 @@ +From 7939e8defe7530431730eb6f83e423071846640d Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Wed, 25 Aug 2021 12:29:12 +0200 +Subject: [PATCH] docs: Remove types handling from docs + +umockdev doesn't export any GObject object types, so gtk-doc should not +be trying to create an empty types file, or including an object class +tree in its documentation. + +See https://gitlab.gnome.org/GNOME/gtk-doc/issues/48 +See https://github.com/mesonbuild/meson/issues/3892 +See https://bugzilla.redhat.com/show_bug.cgi?id=1604585 +--- + docs/reference/meson.build | 1 - + docs/reference/umockdev-docs.xml | 4 ---- + 2 files changed, 5 deletions(-) + +diff --git a/docs/reference/meson.build b/docs/reference/meson.build +index 737f861..25977af 100644 +--- a/docs/reference/meson.build ++++ b/docs/reference/meson.build +@@ -14,7 +14,6 @@ gnome.gtkdoc('umockdev', + src_dir: [meson.build_root(), umockdev_c, umockdev_ioctl_c], + content_files: [version_xml], + ignore_headers: ['uevent_sender.h', 'ioctl_tree.h', 'debug.h'], +- scan_args: ['--rebuild-types'], + dependencies: [glib, gobject, declare_dependency(link_with : [umockdev_lib])], + install: true, + ) +diff --git a/docs/reference/umockdev-docs.xml b/docs/reference/umockdev-docs.xml +index 4d7216f..0228aef 100644 +--- a/docs/reference/umockdev-docs.xml ++++ b/docs/reference/umockdev-docs.xml +@@ -33,10 +33,6 @@ + + + +- +- Object Hierarchy +- +- + + API Index + +-- +2.31.1 + diff --git a/sources b/sources index cdef943..5e7baac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (umockdev-0.16.1.tar.xz) = baeaf05cc6b8d8e2a5cae16b808db759a18a969cea0f2ceed5f6c2521edc0c4c07dc16265a4821051de51f4314fd39d63ebf2da124fcd3e103ec743dadfedaa8 +SHA512 (umockdev-0.16.2.tar.xz) = 82020c068d5a158a762f865f4b25d1ee8596785a5b379c316c652004e1b1b9c533d4dad87818a490f89983a4c065f34e4ff5ca91360bac6d79b141dfa2139eea diff --git a/umockdev.spec b/umockdev.spec index cd34068..f15abe5 100644 --- a/umockdev.spec +++ b/umockdev.spec @@ -1,6 +1,6 @@ Name: umockdev -Version: 0.16.1 -Release: 2%{?dist} +Version: 0.16.2 +Release: 1%{?dist} Summary: Mock hardware devices License: LGPLv2+ @@ -17,6 +17,9 @@ BuildRequires: libpcap-devel BuildRequires: vala BuildRequires: chrpath +# https://github.com/martinpitt/umockdev/pull/139 +Patch0: 0001-docs-Remove-types-handling-from-docs.patch + %description With this program and libraries you can easily create mock udev objects. This is useful for writing tests for software which talks to @@ -69,6 +72,10 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev %{_datadir}/vala/vapi/umockdev-1.0.vapi %changelog +* Wed Aug 25 2021 Bastien Nocera - 0.16.2-1 ++ umockdev-0.16.2-1 +- Update to 0.16.2 + * Fri Jul 23 2021 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild