From 1bc022c5e1c15ca34034139071241d91dae4a008cc5932f209e07402ae9384fe Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Thu, 27 Jan 2022 22:19:36 +0000 Subject: [PATCH] Accepting request 947577 from home:badshah400:branches:hardware - Update to version 0.17.5. - Enable tests in a %check section; add BuildRequires: udev, required for tests. OBS-URL: https://build.opensuse.org/request/show/947577 OBS-URL: https://build.opensuse.org/package/show/hardware/umockdev?expand=0&rev=10 --- umockdev-0.17.1.tar.xz | 3 --- umockdev-0.17.5.tar.xz | 3 +++ umockdev.changes | 15 +++++++++++++++ umockdev.spec | 9 +++++++-- 4 files changed, 25 insertions(+), 5 deletions(-) delete mode 100644 umockdev-0.17.1.tar.xz create mode 100644 umockdev-0.17.5.tar.xz diff --git a/umockdev-0.17.1.tar.xz b/umockdev-0.17.1.tar.xz deleted file mode 100644 index 529abda..0000000 --- a/umockdev-0.17.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96af255509526691460cbee7195f293def800a52bc3e3cd6a0f9a17d6bc7a49b -size 485480 diff --git a/umockdev-0.17.5.tar.xz b/umockdev-0.17.5.tar.xz new file mode 100644 index 0000000..4e163b6 --- /dev/null +++ b/umockdev-0.17.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6634a605890b739014d012e55621f47df9eda302a0ecce51c63044297117bc5 +size 486396 diff --git a/umockdev.changes b/umockdev.changes index 8b8375c..fcb3384 100644 --- a/umockdev.changes +++ b/umockdev.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jan 19 23:28:55 UTC 2022 - Atri Bhattacharya + +- Update to version 0.17.5: + * Relax overzealous stat nlink unit test. +- Changes from versions 0.17.2 through to 0.17.4: + * Include udev properties in emulated netlink messages, to work + with recent libudev (gh#martinpitt/umockdev#165). + * tests: Work around broken HIDIOCGRDESCSIZE ioctl on big-endian + architectures. + * preload: Wrap statx() and fstatat(), to fix ls and other tools + on recent glibc versions (gh#martinpitt/umockdev#160). +- Enable tests in a %check section; add BuildRequires: udev, + required for tests. + ------------------------------------------------------------------- Fri Dec 24 20:39:50 UTC 2021 - Atri Bhattacharya diff --git a/umockdev.spec b/umockdev.spec index 2b99d99..3d22ffd 100644 --- a/umockdev.spec +++ b/umockdev.spec @@ -1,7 +1,7 @@ # # spec file for package umockdev # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define shlib libumockdev0 %define shlibpre libumockdev-preload0 Name: umockdev -Version: 0.17.1 +Version: 0.17.5 Release: 0 Summary: Mock hardware devices for creating unit tests and bug reporting License: LGPL-2.1-or-later @@ -38,6 +38,8 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) # BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libpcap) BuildRequires: pkgconfig(libudev) +# For tests +BuildRequires: udev %description umockdev mocks Linux devices for creating integration tests for hardware @@ -97,6 +99,9 @@ umockdev. %install %meson_install +%check +%meson_test + %post -n %{shlib} -p /sbin/ldconfig %postun -n %{shlib} -p /sbin/ldconfig %post -n %{shlibpre} -p /sbin/ldconfig